Exiv2 / exiv2

Image metadata library and tools
http://www.exiv2.org/
Other
932 stars 281 forks source link

Feature request: Support new PNG cICP chunk #2295

Open kmilos opened 2 years ago

kmilos commented 2 years ago

These carry color space information and extend iCCP, defined in latest extensions incorporated into the spec: https://w3c.github.io/PNG-spec/

There seems to also be an iCCN chunk, see also https://github.com/w3c/ColorWeb-CG/blob/master/hdr-in-png-requirements.md#decoder (TBC if it is part of the spec).

svgeesus commented 1 year ago

The official specification for cICP. cICP is now implemented in the Chrome browser, DarkTable, and Adobe PhotoShop. The four fields have the exact same meanings as in ITU-T-H.273.

iCCN was dropped, as it added only two features:

but everyone was already putting ICC v4 profiles inside iCCP so we corrected the ICC reference in the PNG spec to allow that instead.

ProgramMax commented 1 year ago

I want to clarify something here: The original post is about adding support for the new cICP chunk (coding-independent code points). @svgeesus linked to the cICP chunk and mentioned how it works (the four fields). However, he said "iCCP" in the first few lines when he meant "cICP".

The older iCCP chunk (ICC Profile) was indeed updated to support ICC v4 profiles.

svgeesus commented 1 year ago

However, he said "iCCP" in the first few lines when he meant "cICP".

Whoops, corrected!