Skip to content

womblee/friendly_image_optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼️ Friendly Image Optimizer

A powerful Python tool that optimizes images for web use while maintaining excellent visual quality. Features intelligent file management, perfect aspect ratio preservation, and multiple output formats.

✨ Features

  • Smart Quality Control: 4 quality levels (Low/Medium/High/Highest)
  • Aspect Ratio Preservation: Resize while maintaining perfect proportions
  • Multiple Formats: Keep original, convert to WebP, or standardize to JPEG
  • Auto Input Cleanup: Purge processed files from input folder
  • Batch Processing: Handle entire folders with subdirectories
  • Modern Format Support: JPEG, PNG, WebP, BMP, TIFF, HEIC/HEIF*
  • Configuration Presets: Save and load your preferred settings

*HEIC/HEIF requires optional pillow-heif package

🚀 Quick Start

# Install dependencies
pip install Pillow pillow-heif

# Run optimizer
python image_optimizer.py

📁 Folder structure

friendly_image_optimizer/
├── friendly_image_optimizer.py
├── input/           # Your images here
├── output/          # Optimized results
└── backups/         # Originals (if enabled)

🔍 Showcase of the interface

WindowsTerminal_7hEQGvbjsT

🔍 Sample output

🔍 Found 15 image(s) to optimize
✅ Successfully processed: 15/15 images
📊 Total size: 95.2 MB → 22.1 MB (76.8% compression)
💾 Space saved: 73.1 MB

⭐ Star if helpful!

About

This is a simple python script which lets you bulk compress a ton of media

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages