| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Hey friends!
Just a heads-up: one of the scripts (or all of them) deletes the original photos when moving the processed ones. I set it up that way because I was processing over 1,000 photos to populate a database and needed to save local storage space.
I’m too lazy to properly update this ancient repository or check if I actually mentioned this in the README.
I wrote this from scratch three years ago with help from YouTube and two senior dev friends; the code was really ugly before I ran it through GPT and uploaded it here um 2025.
This is basically a huge hack that saved me a lot of tedious work; it served me well, but it could be a disaster if you're processing important photos.
This repository contains three standalone Python scripts to simplify common image processing tasks, especially useful for batch operations and automating workflows.
Resizes images based on maximum width/height or target file size, preserving the aspect ratio.
python image_resizer.py --input_folder ./images --output_folder ./resized --max_width 800 --max_height 600Or resize by file size:
python image_resizer.py --input_folder ./images --output_folder ./resized --max_size_kb 200Converts images between supported formats (JPG, PNG, WEBP, etc.) using the Pillow library. Automatically organizes converted images into folders by conversion date.
python image_converter.py --input_folder ./images --output_folder ./converted --target_format pngChecks whether image files in a folder match product image names listed in an Excel spreadsheet. Matching images are moved to a specified destination folder.
python validate_product_images.py --images_folder ./product_images --excel_file ./products.xlsx --destination_folder ./validated_imagesInstall dependencies:
pip install Pillow pandas openpyxl✧ made by bnnuy 🐇 in bnnuy code style ૮꒰ ˶• ༝ •˶꒱ა ♡
| Back | FazBrowse Home | New Git URL |