Skip to content

A collection of tools written in python for image conversion and transformation

License

Notifications You must be signed in to change notification settings

geoicons/image-conversion-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-conversion-library

A collection of Python tools for image conversion and transformation.

Installation

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.txt

Tools

convertHEICtoPNG.py

Converts HEIC images in a folder to PNG. PNGs are written to the same folder. Prompts for the folder path when run.

Usage

python convertHEICtoPNG.py

Dependencies: pillow-heif, Pillow


imagesToPdf.py

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>.pdf inside the folder.

Dependencies: Pillow

About

A collection of tools written in python for image conversion and transformation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages