Adding support High Dynamic Range (HDR) imagery to HTML Canvas: a baseline proposal

Good morning/evening,

The Color on the Web CG [1] would very much appreciate any feedback
the PNG WG might have on the following strawman, which motivates and
proposes baseline modifications to the HTML Canvas API to enable
support for High-Dynamic Range (HDR) imagery:

https://github.com/w3c/ColorWeb-CG/blob/8eac62f15e5b41940636beb031f6214b61e933af/hdr_html_canvas_element.md

The proposed modifications allow the HTML Canvas API to manipulate
High Dynamic Range (HDR) images expressed using the widespread BT.2100
PQ and BT.2100 HLG color spaces, without precluding adding future HDR
capabilities, such as support for additional color spaces like a
linear high-dynamic range RGB color space.

Note that the strawman has specific recommendations on tone-mapping
and the use of mastering display metadata. These recommendations
should ideally be consistent with those of HDR PNG since an HDR PNG
image should ideally render close or identically to the same image in
an HDR HTML Canvas.

Best,

-- Color on the Web CG chairs

[1] https://www.w3.org/community/colorweb/

Received on Wednesday, 28 June 2023 04:23:38 UTC