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

Hey Pierre-Anthony,

Thanks for reaching out, I added this topic to the agenda of today's call
for socialization and we'll forward any feedback on the ColorWeb-CG repo.

Overall the explainer looks to be in a direction that's very compatible
with what WebGPU was thinking of. WebGPU supports using `rgba16float` as a
format when configuring the canvas context
<https://gpuweb.github.io/gpuweb/#canvas-configuration>, and with the use
of `rec2020*` color spaces in the same configuration it should be enough
signal for the user-agent to do HDR compositing/displaying.

Cheers,

Corentin


On Wed, Jun 28, 2023 at 6:37 AM Pierre-Anthony Lemieux <pal@sandflow.com>
wrote:

> Dear GPU for the Web WG:
>
> The Color on the Web CG [1] would very much appreciate your feedback
> 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 color space.
>
> Feedback can be provided at [2].
>
> Best,
>
> -- Color on the Web CG chairs
>
> [1] https://www.w3.org/community/colorweb/
> [2] https://github.com/w3c/ColorWeb-CG/issues
>
>

Received on Wednesday, 28 June 2023 13:30:14 UTC