Contact emails
fs...@chromium.org, zaker...@chromium.org
Spec
The spec update is in progress. We intend to ship half float canvas pixel format and allow creation of contexts with extended sRGB color space. Non-sRGB color spaces (linear-rgb, p3, rec2020) still remain behind the flag.
Proposal: https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md
MVP launch document: https://docs.google.com/document/d/1WsKDjAl6oOkiacSh94Mh5XVgb_SefwFbIZO5KXuYz5o
Summary
The new “float16” pixel format for canvas, along with other extensions in ImageData and ImageBitmap API, make it feasible to use HTMLCanvasElement for displaying and manipulating wide color gamut content. When the canvas pixel format is set to float16, each color component / alpha channel can store and represent up to 16 bits of data, which is enough for the current trend of 10 bit wide color gamut content. Furthermore, the color gamut is extended-sRGB, which virtually covers all the traditional wide gamut color spaces, including P3 and Rec2020. Hence, color precision is preserved when dealing with wide gamut content.
Furthermore, new API for ImageData allows to read back the pixels from half float backed canvas as a Float32Array, manipulate them as necessary, and put them back on canvas without any color precision loss. This can be a perfect tool for wide gamut content editing on web. Similarly, the extended API for ImageBitmap allows to store, upload, and transfer wide gamut content without any color precision loss.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Debuggability
This feature does not require special debugging support on its own.
Interoperability and Compatibility Risk
Interoperability risk is medium. There is no support for this extended API from other vendors right now, but we hope them to get this implemented when it is landed in the spec.
Compatibility risk is low, as this does not remove or change existing features.
Is this feature fully tested by web-platform-tests?
Yes.
OWP launch tracking bug
Entry on the feature dashboard
Contact emails
fs...@chromium.org, zaker...@chromium.org
Spec
The spec update is in progress. We intend to ship half float canvas pixel format and allow creation of contexts with extended sRGB color space. Non-sRGB color spaces (linear-rgb, p3, rec2020) still remain behind the flag.
Proposal: https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md
MVP launch document: https://docs.google.com/document/d/1WsKDjAl6oOkiacSh94Mh5XVgb_SefwFbIZO5KXuYz5o
Summary
The new “float16” pixel format for canvas, along with other extensions in ImageData and ImageBitmap API, make it feasible to use HTMLCanvasElement for displaying and manipulating wide color gamut content. When the canvas pixel format is set to float16, each color component / alpha channel can store and represent up to 16 bits of data, which is enough for the current trend of 10 bit wide color gamut content. Furthermore, the color gamut is extended-sRGB, which virtually covers all the traditional wide gamut color spaces, including P3 and Rec2020. Hence, color precision is preserved when dealing with wide gamut content.
Furthermore, new API for ImageData allows to read back the pixels from half float backed canvas as a Float32Array, manipulate them as necessary, and put them back on canvas without any color precision loss. This can be a perfect tool for wide gamut content editing on web. Similarly, the extended API for ImageBitmap allows to store, upload, and transfer wide gamut content without any color precision loss.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Debuggability
This feature does not require special debugging support on its own.
Interoperability and Compatibility Risk
Interoperability risk is medium. There is no support for this extended API from other vendors right now, but we hope them to get this implemented when it is landed in the spec.
Compatibility risk is low, as this does not remove or change existing features.
OWP launch tracking bug
Entry on the feature dashboard
--
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/CAJ%2BVBmzovO-k1mKNXdn4_FiPWZz8O%3DUyjFjsq3CQZ_LRU%3DD2DQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgKz8z_oVkWqkHSOMvnV3XPB5QkPTA%3DcZSpYS-UcEeLWQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYc4AcFDFzVHA-UFbM8AoTX2o6eRgOj%2BvzYsbXwKh7JC4Q%40mail.gmail.com.