Intent to Prototype: High Dynamic Range Support for HTMLCanvasElement

109 views
Skip to first unread message

Christopher Cameron

unread,
Nov 26, 2021, 9:06:07 PM11/26/21
to blink-dev, Fernando Serboncini, Chris Harrelson, Kenneth Russell

Contact emails

ccam...@chromium.org

Proposal

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


Summary

Add support for displaying HDR content in an HTMLCanvasElement. Add new HDR color spaces to PredefinedColorSpace. Add functionality to HTMLCanvasElement to enable display of HDR content. And functionality to ScreenAdvanced to query HDR capabilities of displays.



Blink component

Blink>Canvas

Motivation

High dynamic range content is already available on the web in the form of HDR video and image formats. Most operating systems support high dynamic range graphics through native APIs. This proposal adds HDR support to the web.


This proposal is a result of discussions in the ColorWeb group. There is a desire among all participants to be able to test the proposal "hands-on" before rendering further judgment, especially in deciding some of the details regarding default color space conversion math.



Is this feature fully tested by web-platform-tests?

No


Requires code in //chrome?

False

Tracking bug

https://crbug.com/1274220

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/5703719636172800

Reply all
Reply to author
Forward
0 new messages