What survives a screenshot? A small, reproducible test of EXIF, XMP and C2PA metadata
说明与用途
测试表明,JPEG导出不携带元数据和浏览器截图会删除所有 EXIF、XMP、IPTC 和 C2PA 字段。
问题
Determining which image provenance metadata survives common transformations such as JPEG export and browser screenshot.
结果
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.
工作流
- 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.
证据
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.
- 记录日期: 2026-10-17T11:56:03.282Z