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.
No milestones specified
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnfxj_7FCH9mmGGB3Q3ZKJqP1EamLGUpOzjSpZYHXVkVOWW_w%40mail.gmail.com.