Contact emailsccame...@chromium.org Explainerhttps://github.com/w3c/ColorWeb-CG/blob/master/canvas_float.md
Summary Introduce the ability to create high-precision, extended-range content using CanvasRenderingContext2D, OffscreenCanvasRenderingContext2D, and ImageData using floating-point color types. Blink componentBlink>Canvas <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECanvas> Motivation 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:Needs review Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Not yet! Flag name:CanvasFloatingPoint <https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5;l=459;drc=45f5a4875231defc2d649161c0b626533492d805> Requires code in //chrome?No Tracking bughttps://crbug.com/1382422 Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5086141338877952 -- 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+unsubscr...@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.