Strip metadata from processed images (closes #82) #145

Merged
clawbot merged 2 commits from issue-82-strip-metadata into next 2026-09-29 02:18:26 +02:00
2 Commits
Author SHA1 Message Date
clawbot f5902f4241 Strip metadata from processed images (closes #82)
check / check (push) Successful in 2m59s
Every output is exported with govips' StripMetadata, so it carries no
EXIF, XMP, IPTC or ICC profile, the orig format included: it is always
re-encoded, and pixa never serves the source bytes. The image is turned
upright with AutoRotate right after decoding, so dropping the
orientation tag does not leave it rotated, and a requested size applies
to the upright image. An image with an ICC profile is converted to sRGB
before export, since clients show an image with no profile as sRGB.
No setting turns this off. README.md documents it.

Model: opus-5-5
2026-09-28 23:56:21 +00:00
clawbot b3e59e7855 Test that processed images carry no metadata (closes #82)
check / check (push) Failing after 3m2s
Failing tests first: GPS EXIF must not survive into any output format,
an image with EXIF orientation 6 must come out upright (also when only a
width is asked for), and a Display P3 image must come out as sRGB with
no ICC profile. Three JPEG fixtures of about 1 KB each are added under
internal/imageprocessor/testdata/.

Model: opus-5-5
2026-09-28 23:49:39 +00:00