This specification defines a mechanism for storing images that use the Reference PQ EOTF specified in [BT2100-1] in the Portable Network Graphics (PNG) format (specified in [PNG]), without modification to existing chunks or the introduction of new chunks.

Status of This Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.

This specification is intended to be published as a Working Group Note.

This document was published by the Timed Text Working Group as a Working Group Note. Comments regarding this document are welcome. Please send them to public-tt@w3.org (subscribe, archives) with [png-hdr-pq] at the start of your email's subject.

Publication as a Working Group Note does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

This document is governed by the 1 March 2017 W3C Process Document.

1. Introduction

This section is non-normative.

The gAMA chunk of the Portable Network Graphics (PNG) format (specified in [PNG]) parameterizes the transfer function of the image as a power law. As such, it cannot model the Reference PQ EOTF specified in [BT2100-1], which is commonly used for HDR images.

This specification uses the existing iCCP chunk to unambiguously signal the color system of an image that uses the Reference PQ EOTF specified in [BT2100-1]. It also allows graceful processing by decoders that do not conform to this specification by recommending fallback values for the gAMA chunk, cHRM chunk, and embedded ICC profile.

2. PQ HDR PNG File

The file SHALL conform to [PNG].

The image type SHALL be truecolor.

The image SHALL conform to one of the Pixel Encoding Systems specified in the table below.

The file SHALL contain an iCCP chunk, constrained as follows:

The cHRM chunk and the gAMA chunk of the file SHOULD be set as specified by the table below according to the Pixel Encoding System of the image.

Pixel Encoding Systems
Pixel Encoding System iCCP Chunk Profile Name iCCP Chunk Embedded ICC Profile(s) gAMA Chunk cHRM Chunk
[BT2100-1], using the Reference PQ EOTF and full-range quantization ITUR_2100_PQ_FULL ITUR_2100_PQ_FULL.icc 15000
Parameter Value
White point x 31270
White point y 32900
Red x 70800
Red y 29200
Green x 17000
Green y 79700
Blue x 13100
Blue y 4600

The gAMA chunk and embedded ICC profile specified in the table above are not accurate, and their processing is not required to reproduce the image as intended by the author. They are provided as fallback for implementations that do not recognize the semantics associated with a iCCP Chunk Profile Names defined by this specification. Future versions of this specification might include additional ICC profiles, e.g. to reflect improvements in ICC profile capabilities.


This specification does not constrain bit depth.

3. Privacy and Security Considerations

This section is non-normative.

See Section 13.4 at [PNG].

A. References

A.1 Normative references

Recommendation ITU-R BT.2100-1, Image parameter values for high dynamic range television for use in production and international programme exchange
Portable Network Graphics (PNG) Specification (Second Edition). Tom Lane. W3C. 10 November 2003. W3C Recommendation. URL: https://www.w3.org/TR/PNG