Axiom Image Metadata Stripper

Data & APIs

Image metadata stripper — remove EXIF, GPS, camera info, and other metadata from JPEG/PNG/GIF images. Use when you publish photos and want to remove PII. Pure stdlib (no Pillow required), no LLM.

Install

openclaw skills install axiom-image-metadata-stripper

axiom-image-metadata-stripper

Version: 0.1.2 Axioma Tools

Strips metadata from images while preserving the actual image data.

What this skill does

  • JPEG: strips EXIF, ICC profile, XMP, IPTC
  • PNG: strips tEXt, zTXt, iTXt, eXIf chunks
  • GIF: strips comment extensions
  • Preserves image pixels (no re-encoding)
  • Bytes-in, bytes-out

When to use this skill

  • ✅ Strip GPS coordinates before sharing photos
  • ✅ Remove camera serial numbers
  • ✅ Sanitize before publishing to web
  • ❌ Re-encode/resize images (use Pillow)
  • ❌ View EXIF (use exiftool)

Usage

python3 axiom_image_metadata_stripper.py photo.jpg -o photo-clean.jpg
python3 axiom_image_metadata_stripper.py ./photos/ --output-dir ./clean/
from axiom_image_metadata_stripper import strip_metadata
clean_bytes = strip_metadata(open('photo.jpg', 'rb').read())

Validation

CheckStatus
Unit tests20+ cases
Performance<100ms
SecurityPure stdlib, no injection
DeterminismByte-to-byte stable
LicenseApache-2.0

Last updated: 2026-06-14