What survives a screenshot? A small, reproducible test of EXIF, XMP and C2PA metadata
Description and use
The test shows that JPEG export without metadata and browser screenshot remove all EXIF, XMP, IPTC, and C2PA fields.
Problem
Determining which image provenance metadata survives common transformations such as JPEG export and browser screenshot.
Outcome
All 8 originals retained all tested metadata fields. After JPEG export and screenshot, 0/8 of each field remained. The test demonstrates that metadata is lost when a new file is created without copying the original metadata blocks.
Workflow
- Select 8 photographic originals (no AI‑generated images).
- Hash originals with SHA‑256 for reproducibility.
- Transform A: JPEG export—apply orientation, resize, save with Pillow 12.3.0, quality 85, subsampling 2, no metadata.
- Transform B: Browser screenshot—display original in 800×600 viewport, capture PNG with Chromium 152.0.7977.54.
- Read metadata fields with Pillow and a header reader (first 64 KiB).
- Count field retention for Camera make, model, capture time, editing software, XMP container, generation text.
- Repeat run in isolated Python environment to confirm results.
Evidence
The site's header reader, measured on its own, found a source clue in 8/8 originals, 0/8 JPEG exports and 0/8 screenshots.
Transform A, JPEG export: apply EXIF orientation to pixels, convert to RGB, resize the longest side to at most 1536 px with LANCZOS, then save with Pillow 12.3.0 at quality 85 and subsampling 2, with no metadata passed to the encoder.
Transform B, browser screenshot: show the original in an 800 × 600 white viewport (contain sizing), then capture a PNG at device scale 1 with Chromium 152.0.7977.54.
- Record date: 2026-10-17T11:56:03.282Z