🖼️

Remove Geo Tag

Strip GPS location data from photos for privacy before sharing online.

Image ⭐ Beginner ⏱️ 2 minutes

😫 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_photos with images containing GPS data. Write a Python script using piexif to:

  1. Remove: GPS EXIF tags only.
  2. Preserve: Other metadata (date, camera).
  3. Output: Overwrite originals OR save to safe_photos/.
  4. Backup Option: Keep originals if --backup flag.

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

  1. Install: pip install piexif
  2. Copy Prompt → Run (use backup first time!).

Related Workflows

Explore other categories

📬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

📖 Free eBook Guide 📦 7 Ready-to-use Scripts 🔔 Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.