[webkit-dev] Request for position: Canvas 2D display-p3 support
Christopher Cameron
ccameron at google.com
Wed Jun 9 18:39:08 PDT 2021
Hi webkit-dev,
(and sorry for the duplicate post here, I mangled the headers on the
previous post!)
This is a request for WebKit's position on display-p3 support for Canvas
2D. This is already being tracked in bugs.webkit.org here
<https://bugs.webkit.org/show_bug.cgi?id=225140>.
*Summary:*
Adds a color space parameter to CanvasRenderingContext2DSettings, which
defaults to "srgb" and can take on the value of "display-p3".
Adds ImageDataSettings, which allows specifying a color space parameter to
getImageData/createImageData and related constructors.
*Spec:*
WhatWG spec changes merged in this PR
<https://github.com/whatwg/html/commit/85cb202a052c462bd6830b3dda96e7edbd1dcd75>
.
*Tests:*
https://github.com/web-platform-tests/wpt/tree/master/html/canvas/element/wide-gamut-canvas
Includes tests of ImageData (get and put), and ensuring no loss when doing
toBlob and toDataURL round-trips.
Thank you for your feedback!
Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20210609/b1c353eb/attachment.htm>
More information about the webkit-dev
mailing list