Technical Field Manual
How Image Metadata Leaks Identity — and How Lossless Binary Scrubbing Stops It
Every modern digital photograph carries two distinct payloads inside a single file: the visible raster image and an invisible container of structured telemetry. Understanding where those bytes hide across JPEG, PNG, and WebP containers explains why traditional cloud converters compromise privacy—and why local, browser-side binary surgery is the safest workflow.
1. Anatomy of Hidden Image Metadata (EXIF, XMP, IPTC & PNG Chunks)
Most people refer to all photo metadata as "EXIF," yet cameras, smartphones, and creative suites write across four separate standards inside your files. Each container reveals a different slice of personal or operational context:
- EXIF & TIFF IFDs (JPEG APP1 / PNG eXIf / WebP EXIF): Stored as binary Image File Directories in either Little-Endian (Intel
II) or Big-Endian (MotorolaMM) byte order. Contains camera make and model, shutter speed, ISO, focal length, exact capture timestamps (DateTimeOriginal), hardware serial numbers, and the GPS IFD pinpointing latitude, longitude, and altitude within meters. - XMP Packets (Adobe Extensible Metadata Platform): Embedded as UTF-8 XML strings inside JPEG
APP1, PNGiTXt, and WebPXMPchunks. Lightroom, Photoshop, and mobile editors write edit history, software versions, creator names, document UUIDs, and mirrored GPS tags into XMP—often surviving naive EXIF-only strippers. - IPTC / Photoshop 8BIM (JPEG APP13): Editorial metadata used by newsrooms and stock platforms to store photographer bylines, copyright strings, location names, and caption keywords.
- PNG Textual & Time Chunks (tEXt, iTXt, zTXt, tIME): Operating systems and AI image generators write software signatures, workstation usernames, creation timestamps, and full generative AI prompts and model seeds directly into uncompressed or zlib-compressed PNG text chunks.
2. The Math & Bitstream Logic of Lossless Metadata Removal
Naive online tools strip metadata by decoding the entire photograph on a remote server and re-saving it at an arbitrary quality factor (such as JPEG 80%). That approach causes generational compression artifacts and leaks your original image to third-party servers.
ExifScrubKit operates directly on the raw Uint8Array bitstream inside browser memory. In a JPEG stream, image data starts after the 0xFFDA Start of Scan (SOS) marker, preceded by quantization (DQT), Huffman (DHT), and frame geometry (SOF) headers. By walking the 16-bit segment lengths before SOS and copying only essential decoding tables while omitting APP1, APP13, and COM markers, every discrete cosine transform (DCT) block remains mathematically untouched.
For PNG and WebP files, the engine isolates image payload chunks (IHDR, IDAT, VP8/VP8L) and removes metadata blocks while recalculating WebP VP8X feature flags and RIFF container byte sizes. When maximum forensic isolation is required—such as neutralizing custom quantization tables or invisible trailing bytes—the built-in Canvas Re-encode mode reconstructs fresh raster frames locally.
3. Comparison: ExifScrubKit vs. Cloud Converters vs. Desktop CLI
| Capability | ExifScrubKit (Browser) | Cloud Upload Sites | Desktop CLI (ExifTool) |
|---|---|---|---|
| Privacy & Network Exposure | 0 bytes uploaded (Air-gapped RAM) | Full file uploaded to remote server | Local execution |
| Lossless JPEG / PNG / WebP | Yes (Bitstream segment strip) | Often re-compresses image | Yes |
| GPS & Risk Audit UI | Instant severity score + DMS readout | Cluttered ad-heavy tables | Raw terminal dump only |
| Zero Install / Cross-Device | Runs on desktop, iOS & Android | Runs in browser with limits | Requires Perl / CLI setup |
| Batch ZIP & JSON/CSV Audit | 1-click client ZIP + audit exports | Paywalled or queued | Requires shell scripting |
4. Step-by-Step Privacy Checklist Before Sharing Photos Online
- Drop Originals First: Drag single photos or an entire folder batch directly into the ExifScrubKit studio before uploading to marketplaces, forums, or cloud folders.
- Review Critical Alerts: Check the pre-scrub risk score for red GPS coordinate alerts, camera body serials, or embedded PNG AI workflow prompts.
- Choose Lossless or Canvas Mode: Keep Lossless Binary Strip selected to preserve 100% pixel fidelity, or switch to Canvas Re-encode if you also want embedded JPEG thumbnails and quantization fingerprints rebuilt.
- Verify & Export: Confirm the Post-Scrub Verification badge reports
0 LEAKS REMAINING, then download your clean image or batch ZIP bundle.