A Python CLI tool for batch converting image files between formats with compression support and file management options.
- Convert images between formats (via Pillow support)
- Recursive directory searching
- Compression/quality settings
- Post-conversion file management (keep/delete originals/converted files) Conversion statistics
Common formats include:
WEBP, JPEG, PNG, BMP, TIFF, GIF, ICO, HEIF, PDF (and more)
- Clone the repository
git clone https://github.com/x0rtex/imageconvert.git
cd image-conversion-wizard- Install dependencies
pip install -r requirements.txtpython main.pyFollow the interactive prompts:
- Enter directory to search
- Source file extension (e.g., jpg)
- Target file extension (e.g., webp)
- Compression/quality level (1-100)
- Choose file management option after conversion
Requirements:
- Python 3.8+ (Tested on Python 3.12)
- Pillow (PIL Fork)
- tqdm
- colorama
Note: Always test conversions with a copy of your files before performing bulk operations.