Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzyn/print-prep
Digicam photos prep for print shops
https://github.com/uzyn/print-prep
Last synced: 11 days ago
JSON representation
Digicam photos prep for print shops
- Host: GitHub
- URL: https://github.com/uzyn/print-prep
- Owner: uzyn
- Created: 2015-06-26T14:51:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-02T01:54:57.000Z (almost 9 years ago)
- Last Synced: 2024-10-31T11:45:45.729Z (18 days ago)
- Language: JavaScript
- Size: 268 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# print-prep
Digicam photo prep for print shops.[![Build Status](https://travis-ci.org/uzyn/print-prep.svg?branch=master)](https://travis-ci.org/uzyn/print-prep)
### Help
```
printprep [] [] []source Defaults to current directory
destination Defaults to the same as sourceOptions:
-p, --position Position photo at center, left, or right, defaults to `--position=right`.
-c, --color Background color, if original photo does not fill up the whole resulting photo, defaults to `--color=white`.
-b, --background Background image.
-r, --ratio Resulting ratio, defaults to `--ratio=3:2`.
-n, --normalize Enhance output photo contrast by stretching its luminance to cover the full dynamic range.
-e, --ext Specify extensions, defaults to `--ext=jpg,jpeg,tiff,png`.
-f, --fillup Expand to fill up the whole resulting photo, may lose parts of source, defaults to unset (false).
-o, --occupancy Specify the percentage of photo occupancy. Setting this automatically enables `--fillup`.
-i, --config Load JSON configuration. It useful for multi-pass support as otherwise it's very difficult to specify everything in command line. By default, print-prep will auto load a JSON configuration named as printprep.config.json.
-v, --verbose Show more debug information.
```### Example JSON Configuration
```javascript
[
{
"source": "example.jpg",
"output": "./prepare/example.jpg",
"position": "center",
"color": "white",
"ratio": "4:3"
},
{
"source": "./prepare/example.jpg",
"output": "./done/example.jpg",
"background": "background.jpg",
"color": "white",
"ratio": "3:2"
}
]
```### Notes
- `printprep` always rotate photos to landscape because printers are orientation agnostics.