From 4664841c291d1696c822883d850f9cafdb37c215 Mon Sep 17 00:00:00 2001
From: Chris Lilley 2. Coding Independent Code Points (CICP) from ITU-R H.273
Implemented in FFMPEG-dev for reading and writing PNG:
+ The cICP chunk allows the PNG color space to be tagged with any of the + enum values in H.273, not just sRGB, and it is defined in the working + draft of the PNG specification (3rd edition). libavutil/pixfmt.h uses + exact the same values as H.273 so these are translated as-is. This + commit also adds support for writing the cICP chunk for video frames + tagged as anything that isn't sRGB. It still writes cHRM and gAMA as a + fallback. +
Implemented in Affinity Photo 2