😫 The Pain Point
You took photos at home and want to share them online. But they contain GPS coordinates that reveal your address. You need to remove location data for privacy.
🚀 Agentic Solution
A Privacy Scrubber that removes GPS and other sensitive EXIF data.
Key Features:
- GPS Removal: Target location data specifically.
- Full Scrub Option: Remove all EXIF data.
- Batch Processing: Process entire folders.
⚔️ Phase 1: Commander (Quick Fix)
For quick scrubbing.
Prompt:
“I have a folder
personal_photoswith images containing GPS data. Write a Python script using piexif to:
- Remove: GPS EXIF tags only.
- Preserve: Other metadata (date, camera).
- Output: Overwrite originals OR save to
safe_photos/.- Backup Option: Keep originals if
--backupflag.Print count of photos processed and GPS tags removed.”
Result: Privacy-safe photos for sharing.
🏗️ Phase 2: Architect (Permanent Tool)
Engineering Prompt:
**Role:** Python Tool Developer
**Task:** Create a "Photo Privacy Scrubber".
**Requirements:**
1. **GUI:**
* Select folder.
* Mode: GPS only / All EXIF / Custom selection.
* Preview which files have GPS data.
* Backup option checkbox.
* Progress bar.
2. **Logic:**
* Read EXIF with piexif.
* Remove specific tags.
* Write back without quality loss.
3. **Deliverables:**
* `remove_geo.py`
* `run.bat`, `run.sh`
* `requirements.txt`
🧠 Prompt Decoding
- GPS EXIF Tags: Stored in the GPSInfo section of EXIF data.
🛠️ Instructions
- Install:
pip install piexif - Copy Prompt → Run (use backup first time!).