Skip to content

Conversation

@mdashlw
Copy link
Contributor

@mdashlw mdashlw commented Feb 11, 2026

Closes #666 and closes #665

  • Updates imagemagick inside mediaproc to v7 Q16 HDRI - necessary for accurate color space conversion
  • PNG: always runs non-animated files through magick reorientation, profile conversion, and metadata stripping
  • JPEG: checks the embedded profile against our reference first to avoid reencoding

Optimal reference image with RGB data made:

magick -size 1x1 xc:"rgb(16,16,16)" xc:"rgb(128,128,128)" xc:"rgb(128,0,0)" xc:"rgb(0,128,0)" xc:"rgb(0,0,128)" xc:"rgb(64,128,192)" +append -depth 8 -type TrueColor -strip priv/icc/reference.png

magick priv/icc/reference.png -depth 8 RGB:- > priv/icc/reference.rgb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smarter ICC profile handling EXIF and ICC profiles not stripped from PNGs

2 participants