The Image PDF Creator is a Python script that allows you to quickly generate a PDF file from a collection of images. It arranges the images in a specified directory into multiple pages, with each page containing three images. The script uses the Python Imaging Library (Pillow) for image processing and ReportLab for PDF generation.
- Automatically arranges images into a multi-page PDF document
- Maintains aspect ratio of images while fitting them within page dimensions
- Customizable margins and image placement
- Easy-to-use Python script
- Python 3.x
- Pillow library (
pip install Pillow) - ReportLab library (
pip install reportlab)
- Place your images in a single directory.
- Update the
image_directoryvariable in the script with the path to your image directory. - Run the script using Python:
python image_pdf_creator.py. - The script will generate a PDF file with the arranged images.
Here are a few examples of how the images will be arranged in the generated PDF:
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.


