Re: [webkit-dev] Request for position: Canvas 2D display-p3 support

2021-06-09 Thread Sam Weinig via webkit-dev
Hi Christopher,

We are in favor of this proposal.

- Sam

> On Jun 9, 2021, at 6:39 PM, Christopher Cameron via webkit-dev 
>  wrote:
> 
> 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 .
> 
> 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 
> .
> 
> 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
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Request for position: Canvas 2D display-p3 support

2021-06-09 Thread Christopher Cameron via webkit-dev
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
.

*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

.

*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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev