Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulk Image Resizer 🚀

Last Commit Repo Size License

Python Pillow Git

A high-performance Python tool for recursive image optimization.


🚀 Key Features

  • Multithreaded: Uses ThreadPoolExecutor for batch processing.
  • LANCZOS Scaling: High-quality resampling via Pillow.
  • Modular Logging: Professional log tracking.
  • Progress Tracking: Real-time visual feedback with tqdm.

⚒️ Setup

Clone the repository and install dependencies:

git clone [https://github.com/reory/bulk_image_resizer.git](https://github.com/reory/bulk_image_resizer.git)
cd bulk_image_resizer
bash
pip install -r requirements.txt

Configure Paths

Open resizer.py and update your source and destination folders:
src = r"C:\Users\Admin\Desktop\Photos"
dest = r"C:\Users\Admin\Desktop\Optimized_Photos"

Run

python resizer.py

🗺️ Future Roadmap Features

  • CLI Support: Use argparse to pass paths and dimensions via terminal.

  • Format Expansion: Add .webp and .png support with auto-conversion.

  • Efficiency Report: Calculate and log total "MB Saved" at session end.

  • De-duplication: Use MD5 hashing to skip identical files and save time.


Notes

Any issues with the code please feel free to reach out to me. Cheers 😁


See LICENSE.md for usage rights and CONTRIBUTING.md for how to help.


  • Built by Roy Peters LinkedIn

About

A high-performance Python tool for recursive image optimization.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages