Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Kornel
> On 30 Apr 2016, at 19:07, Rik Cabanier wrote: > > It would be ideal if we can specify that the canvas backing store is in the > device profile. How would the website know what profile this is? If it's just a boolean setting, then I don't see how it would make it

Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Rik Cabanier
[Sorry to revive this old thread] All, with the advent of DCI-P3 compliant monitors and Apple's Safari doing color managing to the device, we're seeing some issues in this area. - Currently, WebKit sets the profile of the canvas backing store to sRGB regardless of the output device. Because of

Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Rik Cabanier
On Sat, Apr 30, 2016 at 12:38 PM, Kornel wrote: > > > On 30 Apr 2016, at 19:07, Rik Cabanier wrote: > > > > It would be ideal if we can specify that the canvas backing store is in > the device profile. > > How would the website know what profile this is?

Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Rik Cabanier
On Sat, Apr 30, 2016 at 4:27 PM, Rik Cabanier wrote: > > > On Sat, Apr 30, 2016 at 3:25 PM, Kornel wrote: > >> >> On 30 Apr 2016, at 21:19, Rik Cabanier wrote: >> >>> >>> > It would be ideal if we can specify that the canvas backing

Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Ron Waldon
What if we could just declare the colour-space that content uses, and allow the browser to make a best-effort translation if the current display uses a different colour-space? This way, we don't need to expose colour profiles or other fingerprinting details to JavaScript code. That code can just

Re: [whatwg] Canvas and color colorspaces (was: WebGL and ImageBitmaps)

2016-04-30 Thread Kornel
> On 30 Apr 2016, at 21:19, Rik Cabanier wrote: > > > It would be ideal if we can specify that the canvas backing store is in the > > device profile. > > How would the website know what profile this is? If it's just a boolean > setting, then I don't see how it would make