If you have a bunch of images (named in order) in a bunch of directories (named in order), this program converts all of them into both individual PDFs per folder and one combined PDF in the root directory.
Important
Currently, it can convert either JPG or PNG images in a particular folder (not both in the same folder).
- ImageMagick (version 7+)
- Python 3.8+ (for pypdf library; only if using from source)
You can either use the binary in the Release section or build from source
- Clone this repository using
git clone https://github.com/nathaishik/img-pdf-maker.git-
Move the python file to the desired directory with the folders containing the images.
-
Create a virtual environment (venv works) in that folder
-
Install the required libraries using
pip install -r requirements.txt- Run
python img_pdf_maker.pyNote
This may consume a significant amount of memory.
Currently, only the binary for Windows is available. Contributors are requested to help make the binary for other platforms. pyinstaller module has been used to create the binary.
- Download the appropriate binary from the Releases tab.
- Add to PATH or move the binary to the desired location.
- Run it.
The final PDF file will be present in the directory where the program is run from. By default it is named combined.pdf. You may rename it post creation.