Introduce the ability to create high-precision, extended-range content using CanvasRenderingContext2D, OffscreenCanvasRenderingContext2D, and ImageData using floating-point color types.
Floating-point pixel values are the natural representation of pixel data, and allow such features as representing colors in arbitrarily wide gamuts and high dynamic range. Current 2D canvases are limited to representing pixels using 8-bit unsigned integers, for historical reasons.
All other canvas rendering APIs either have floating-point pixel support (WebGPU) or have a widely supported proposal (WebGL). This brings 2D canvas rendering in line with the capabilities of all other APIs.
This is also a prerequisite for enabling 2D canvas rendering to create HDR content. This was split off from the HTMLCanvasElement HDR Proposal, because it is an independent dependency of that proposal, and is valuable on its own.
TAG review status:
Requires code in //chrome?
No milestones specified
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/5086141338877952