MediaInfoLib icon indicating copy to clipboard operation
MediaInfoLib copied to clipboard

PNG: recognise sRGB, gAMA and cHRM chunks

Open ValZapod opened this issue 4 years ago • 0 comments

sRGB (with colorimetry intent inside) chunk overrides gAMA chunk, since sRGB is piecewise (see png spec) and cHRM (that has primaries and white point), iCCP overrides both sRGB and gAMA and cHRM.

Exiftool implements that.

Samples are here: https://gitlab.gnome.org/GNOME/gimp/-/issues/5363 and yes, it is now supported by GIMP, also supported by Windows viewer, Chrome, Mozilla, not supported by Photoshop.

Please do not set sRGB for 2.2 gAMA as ImageMagick does, it is an actual bug in ImageMagick.

ValZapod avatar May 24 '21 05:05 ValZapod