-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coding Independent Code Points (CICP) and PNG cICP
#922
Comments
WPT test results for Thus, the only browser now failing is Firefox. |
I don't see any reason not to support this. |
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Request for Mozilla Position on an Emerging Web Specification
@
-mention GitHub accounts): PNG WGOther information
CICP is a way to identify the color space and transfer function; specified in ITU-T-H.273 originally for video formats, it is now widely deployed and starting to be used in image formats such as AVIF and JPEG-XL. It is particularly used for HDR content, but can also be used for SDR content. Compared to an embedded ICC profile, which can be 10-20k for an RGB colorspace, it only adds 4 bytes of data because it is an enumeration.
For example, an image in BT.2100 color space with the PQ transfer function would signal this with the following four bytes:
while an image in Display P3 would use
Gecko already supports CICP in AVIF, see https://bugzilla.mozilla.org/show_bug.cgi?id=1634741
The need for PNG to support HDR images was identified at the W3C Color Workshop and incubated in the Color on the Web CG
PNG Third Edition adds the
cICP
chunk for CICP, and this is already supported in Chrome. It is produced by image editing applications including darktable and Adobe Photoshop.The text was updated successfully, but these errors were encountered: