pdfgallery
v0.1.2
Published
Convert all the images in a directory into a single PDF file.
Downloads
19
Maintainers
Readme
pdfgallery
pdfgallery
is an npm package that converts images in a directory to a PDF. This tool is useful for creating a PDF gallery of images with a single command.
Installation
You can use pdfgallery
without installing it globally by using npx
:
npx pdfgallery
Usage
To convert images in a directory to a PDF, run the following command:
npx pdfgallery [directory]
[directory]
: The path to the directory containing the images. If not specified, the current working directory will be used.
Example
To convert images in the ./images
directory to a PDF:
npx pdfgallery ./images
This will create a file named gallery.pdf
in the current directory containing all the images from the ./images
directory.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License.