Skip to content
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

Adding support for HDR imagery to the PNG format #23

Closed
svgeesus opened this issue Mar 15, 2021 · 6 comments
Closed

Adding support for HDR imagery to the PNG format #23

svgeesus opened this issue Mar 15, 2021 · 6 comments

Comments

@svgeesus
Copy link
Contributor

There is a requirements document Adding support for HDR imagery to the PNG format to add HDR colorspace signalling to PNG. It is based on the H.273 controlled vocabulary.

The cICP chunk could be seen as like the sRGB chunk (signal colorspace with very few bytes, much less than an ICC profile) except it covers the common formats needed for HDR, several of which cannot be expressed with just chromaticities and a simple gamma exponent.

see also w3c/ColorWeb-CG#11

@randy408
Copy link

randy408 commented May 5, 2021

@svgeesus
Copy link
Contributor Author

@svgeesus
Copy link
Contributor Author

svgeesus commented Aug 24, 2021

The earlier work Using the ITU BT.2100 PQ EOTF with the PNG Format relied on the name of the ICC profile as a signalling mechanism. Actually applying that ICC profile gave poor results, as Dmitry Kazakov (Krita) explained in his talk at the Color Workshop:

tt-pq-rendering

@ProgramMax ProgramMax added this to the 3rd edition milestone Sep 17, 2021
@digitaltvguy
Copy link
Contributor

digitaltvguy commented Dec 15, 2021

Added to PNG Spec

For PNG Specification Addition: 11.3.3.6 Coding-independent code points for video signal type identification (For cICP chunk)

REFERENCES ITU-T H.273 7/2021

H.273 Section 8.1 – Table 2 – Colour Primaries
Type Unsigned Integer, enumeration
Range 0-255;
ColourPrimaries indicates the chromaticity coordinates of the source colour primaries as specified in Table 2 in terms of the CIE 1931 definition of x and y as specified by ISO 11664-1

H.273 Section 8.2 – Table 3 – Transfer Function
Type Unsigned Integer, enumeration
Range 0-255;
Transfer Function indicates the reference opto-electronic transfer characteristic function (OETF) of the source picture as a function

H.273 Section 8.3 - FullRangeFlag
Type Unsigned Integer, enumeration
FullRangeFlag (1=FullRange and is default for RGB Images)
Specifies the scaling factor within the quantized digital signal

@svgeesus
Copy link
Contributor Author

@ProgramMax
Copy link
Collaborator

I'm adding a 2nd "needs" tag since this issue blurs the line between a meta-issue and an individual issue (for cICP).

Issue #95 is a child issue of this meta-issue.

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

No branches or pull requests

4 participants