Skip to content

NovusGFX/image-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–ΌοΈ Bulk Image Compressor (Terminal-based)

A Python script to compress images in bulk by target percentage or file size, with logging, ascii banners, and support for PNG transparency using pngquant.

πŸš€ Features

  • Bulk compress entire folders
  • Compression by % of original size or to target MB
  • Preserve folder structure (optional)
  • PNG transparency preserved using pngquant
  • JPEG/WebP compressed using Pillow
  • Interactive terminal prompts and CLI installable

πŸ§ͺ Requirements

Python

pip install -r requirements.txt

System Dependency (for PNG support)

You must install pngquant:

πŸ“‚ Usage

python compressor.py

or, after install:

image-compressor

πŸ“„ License

MIT

About

A script to compress folders of images by size or percent at once. Logs and updates as it works.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages