ProductivePyton is a suite of lightweight command-line tools for bulk image processing and optimization. It includes:
- π BulkGeoTagger β Geotags images by folder-based city names using embedded GPS metadata.
- π· BulkCompressor β Compresses, resizes, and optionally converts images to WebP format with target file size control.
Auto-tag your images by location.
Usage:
- Add folders named after cities (e.g.
phoenix,mesa) - Make sure
city_coords.jsonmatches folder names:
{
"phoenix": [33.4484, -112.0740],
"mesa": [33.4152, -111.8315]
}- Run:
python geo_tag_images.pyOr use the prebuilt .exe (Windows only).
π Your image structure should look like:
/phoenix/photo1.jpg
/mesa/photo2.jpg
Resize, compress, and optionally convert images to WebP.
Features:
- Resizes images wider than 1920px
- Compresses to a user-defined file size
- Optional
.webpconversion - Zips final output
Usage:
python resize_images.pyYouβll be prompted for:
- Desired file size in KB
- WebP conversion option
Input images must go in the /input directory. Output is saved to /output.
ProductivePyton/
βββ src/
β βββ geotag/
β β βββ geo_tag_images.py
β β βββ city_coords.json
β βββ resize/
β β βββ resize_images.py
βββ dist/ # Windows executables
βββ releases/ # Zip release bundles
Install required Python packages:
pip install Pillow piexifMade by Jacob Elias Moya
Built for efficient image prep at scale.
MIT License β free to use, modify, and distribute.