Small Tools, Big DiscoveriesOriginal researchDocumentation & literature
Which privacy tags survive photo processing? — An ExifTool study protocol
Summary
Four teaching interactions explore metadata, retention and sampling uncertainty; measurements are pending.
Evidence type: documentation. Results are limited to the documented conditions.
Does converting a photo to PNG erase its secrets?
Make a prediction: which makes a photo safer—format conversion, GPS removal or stripping all tags? PNG can itself carry metadata, so the extension cannot answer the question. ExifTool makes the question testable, but this is a protocol without measurements.
1. Controls and treatments: which layer changes?
Use a byte copy of the same JPEG as the control; compare GPS-group removal, all-metadata removal, PNG conversion, JPEG re-encoding, JPEG re-encoding explicitly passing only EXIF, and brightness editing. The last intentionally changes the image. Passing EXIF alone does not guarantee retention of XMP, IPTC or ICC. Screenshots and platform sharing require separate real-device tests recording app, version, settings and date.
Choose a treatment and explore the evidence status of six layers, not an inferred removal rate.

Nature: documented rules and untested schematics, not measurements. Even removing all metadata does not guarantee exhaustive removal; orientation and color may change.
2. Target tags: what counts as retained?
Freeze five groups: capture time, device, GPS, serial number and creator. The official ExifTool EXIF table calls standard BodySerialNumber SerialNumber (ExifIFD); IFD0:CameraSerialNumber also exists. Inventory manufacturer MakerNotes separately without assuming coverage. See the archived tag list.
Avoid sensitive locations in natural photos. When baseline GPS is absent, use a separate copy with explicitly synthetic coordinates, verify insertion and report the challenge group separately. Removing the GPS group is not equivalent to removing every location-related tag.
3. Endpoints: the denominator cannot be zero
Retention is the number of baseline target tags still present after processing divided by the number present at baseline. Unchanged-value rate and newly appearing tags are recorded separately. With no baseline tags the rate is undefined, not a deletion success. Select baseline and post-treatment fields.

Nature: mathematical definition demonstration, not study data.
Copying, GPS removal, full removal and lossless PNG encoding are expected to preserve raw decoded RGB, subject to measurement. For JPEG re-encoding and brightness editing use MAE, maximum absolute difference and PSNR; brightness changes are intentional, not compression damage. Also record orientation tags, orientation-adjusted dimensions and pixels, ICC presence and hash, and differences after common sRGB conversion. Mark unreliable assessment when valid profiles are unavailable; do not assume display equivalence. File size is secondary.
4. Samples and statistics: seven derivatives are not seven independent experiments
Plan ten authorized photos per device across three devices. Thirty photos are an exploratory design, not collected data or a power calculation. Seven treatment records per photo yield 210 planned derivative records, but the independent unit remains the photograph; within-device correlation is possible.

Nature: planned sample-count demonstration, not measurements. Switch counting methods to distinguish records from independent units.
Report denominators, undefined counts, failures, per-photo retention rates, medians and interquartile ranges by device, treatment and tag group. For a single-tag binary event in independent photos, a two-sided 95% Clopper–Pearson interval can illustrate uncertainty. Do not pool different tags or derivatives as independent trials.

Nature: reader-assumed mathematical scenario, not study results. If zero of ten independent photos retain a tag, the two-sided 95% upper limit is about 30.85%; this cannot establish absolute safety. Sample size, device clustering and exploratory design limit inference; no significance testing is planned.
Results: not yet measured
| Treatment | Device A | Device B | Device C |
|---|---|---|---|
| Copy | Pending | Pending | Pending |
| GPS removal | Pending | Pending | Pending |
| Full removal | Pending | Pending | Pending |
| PNG conversion | Pending | Pending | Pending |
| JPEG re-encoding | Pending | Pending | Pending |
| Explicit EXIF only | Pending | Pending | Pending |
| Brightness editing | Pending | Pending | Pending |
The limits of privacy
Tags, visible imagery, filenames, filesystem and platform records can all leak information. Tag stripping is not anonymization. Keep originals and logs private; review anonymized aggregate metrics before publishing. Authorization, device grouping and anonymization await author confirmation.
Data and code
ExifTool has not been run; no compliant photos or measurements are available. The archive contains a revised protocol, tag list and legacy script. The legacy script has not been updated for this protocol and must not be used for formal experiments. Record software versions, date, failures and deviations; use Pillow to independently check limited tags and pixels. Live import and interactive execution remain unverified.
https://zirulab.org/en/articles/exiftool-photo-metadata-privacy
Research materials
- Evidence
- Documentation
- Test date
- 2026-12-02
- Limitations
- Protocol only; no ExifTool runs, compliant photographs or measured results. Live schema and sandbox not verified. Classification retained as instructed; do not publish as completed research.
References
Information basis
Official sources — Based on publicly available official sources. About information sources
Citation & revisions
Zi-Ru Jiang. (2026). Which privacy tags survive photo processing? — An ExifTool study protocol. ZIRULAB. ZL-exiftool-photo-metadata-privacy. https://zirulab.org/en/articles/exiftool-photo-metadata-privacy
v1 · 2026-12-02
Cite this content · APA-style / BibTeX / RIS
Web citation (not a claim of journal publication)
Zi-Ru Jiang. (2026). Which privacy tags survive photo processing? — An ExifTool study protocol. ZIRULAB, v1. https://zirulab.org/en/articles/exiftool-photo-metadata-privacy
BibTeX
@misc{zirulab_articles_exiftool_photo_metadata_privacy_en,
author = {Zi-Ru Jiang},
title = {Which privacy tags survive photo processing? — An ExifTool study protocol},
howpublished = {ZIRULAB},
year = {2026},
note = {v1},
url = {https://zirulab.org/en/articles/exiftool-photo-metadata-privacy}
}RIS
TY - ELEC TI - Which privacy tags survive photo processing? — An ExifTool study protocol AU - Zi-Ru Jiang PY - 2026 T2 - ZIRULAB ET - v1 UR - https://zirulab.org/en/articles/exiftool-photo-metadata-privacy ER -
- v1 · 2026-12-02
Acknowledgments
ZIRULAB's scientific article framework is based on the open-source Distill project. We gratefully acknowledge the Distill team and its contributors for pioneering clear, intuitive, and interactive scientific communication.
Distill · Source code · License (Apache-2.0)
ZIRULAB uses this open-source project independently; this does not imply any partnership with or endorsement by Distill.
