Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickroberts/gen-pdf
A command-line utility for generating a PDF file from a directory of images
https://github.com/patrickroberts/gen-pdf
cli command-line-tool image-processing node-js pdf-generation
Last synced: 17 days ago
JSON representation
A command-line utility for generating a PDF file from a directory of images
- Host: GitHub
- URL: https://github.com/patrickroberts/gen-pdf
- Owner: patrickroberts
- License: mit
- Created: 2017-11-11T05:24:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T11:50:57.000Z (over 1 year ago)
- Last Synced: 2024-12-21T11:37:03.289Z (about 2 months ago)
- Topics: cli, command-line-tool, image-processing, node-js, pdf-generation
- Language: JavaScript
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gen-pdf
Create a PDF file from a set of images
## Installation
```sh
npm link gen-pdf
```## Documentation
```
pdf [images..]Options:
-v, --version Show version number
-i, --images Image input filenames
-f, --file PDF output filename
-s, --size Set to contain or cover
-l, --left Set percent padding left
-t, --top Set percent padding top
-w, --width Set pixel width
-h, --height Set pixel height
-d, --dry Perform dry run
-p, --progress Show progress
-q, --quiet Silence warnings
--title Set title
--author Set author
--subject Set subject
--keywords Set keywords
--creator Set creator
--created Set creation date
--modified Set modified date
--help Show help
```## Credit
Built with [node-canvas][canvas], [yargs], and [glob].
## License
Available under the MIT License (c) 2021 Patrick Roberts
[canvas]: https://www.npmjs.com/package/canvas
[yargs]: https://www.npmjs.com/package/yargs
[glob]: https://www.npmjs.com/package/glob