A collection of Python tools for image conversion and transformation.
Use a virtual environment (recommended), then install dependencies from the project root:
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS/Linux
pip install -r requirements.txtConverts HEIC images in a folder to PNG. PNGs are written to the same folder. Prompts for the folder path when run.
Usage
python convertHEICtoPNG.pyDependencies: pillow-heif, Pillow
Converts all images in a folder into a single PDF. Images are included in filename order. Supports PNG, JPEG, GIF, BMP, WebP, and TIFF.
Usage
python imagesToPdf.py <folder> [-o output.pdf]- folder — Path to the folder containing images (required).
- -o, --output — Output PDF path. If omitted, creates
<folder_name>.pdfinside the folder.
Dependencies: Pillow