HavenPixPrivate local image studio

Inside JPEG, PNG & WebP Metadata: Removing GPS Without Re-Encoding

Drawing a photo onto an HTML canvas and saving it again strips EXIF, but also re-quantizes JPEG DCT blocks — causing generation loss. True lossless scrubbing excises metadata markers directly at the container byte level.

Container Byte Markers Removed by HavenPix

In a baseline JPEG stream, compressed image pixels live after the Start of Scan (0xFFDA) marker. Everything before 0xFFDA consists of framing segments. Excising APP1 (0xFFE1) and APP13 (0xFFED) while preserving DQT, DHT, SOF, and APP2 ICC color profiles yields an identical pixel bitstream with zero privacy leaks.

FormatMetadata Chunks RemovedColor / Pixel Data PreservedQuality Loss
JPEG (.jpg)APP1 (EXIF & XMP), APP13 (IPTC), COM (0xFFFE)SOS bitstream + APP2 ICC_PROFILE0% (Bit-exact pixels)
PNG (.png)eXIf, tEXt, zTXt, iTXt, tIMEIHDR, iCCP, sRGB, IDAT0% (Lossless)
WebP (.webp)RIFF EXIF & XMP chunks + VP8X bitflagsVP8 / VP8L / ALPH / ICCP0% (Bit-exact)
Test it live on your own image
Open HavenPix Studio →