- From: Christopher Cameron <ccameron@google.com>
- Date: Fri, 11 Nov 2022 10:38:10 +0100
- To: Lars Borg <borg@adobe.com>
- Cc: Reiner Fink <reinerf@microsoft.com>, Ken Russell <kbr@google.com>, "public-colorweb@w3.org" <public-colorweb@w3.org>
- Message-ID: <CAGnfxj8JaUjACvAuVp1HD7fVUu+zd4GfKjU48Wm8Dw4-gmkaWQ@mail.gmail.com>
Thanks -- those are covered by CSS Color Level 4's definition <https://www.w3.org/TR/css-color-4/#predefined-sRGB>, which is linked in the canvas spec. But, I'll add a remark putting together that connection in the document. On Thu, Nov 10, 2022 at 6:25 PM Lars Borg <borg@adobe.com> wrote: > Does that apply? Uint8 would only support the unit range. > So maybe the floats would get clipped? > > Lars > > -----Original Message----- > From: Reiner Fink <reinerf@microsoft.com> > Date: Thursday, November 10, 2022 at 7:16 AM > To: Christopher Cameron <ccameron@google.com>, Lars Borg <borg@adobe.com> > Cc: Ken Russell <kbr@google.com>, "public-colorweb@w3.org" < > public-colorweb@w3.org> > Subject: RE: [EXTERNAL] Re: Canvas Floating Point Color Values Propoal > > EXTERNAL: Use caution when clicking on links or opening attachments. > > > You might want to mention how to resolve gamma for values >1.0 and <0.0, > eg something about extending curves and reflecting gamma about y-axis. > > -reiner > > From: Christopher Cameron <ccameron@google.com> > Sent: Thursday, November 10, 2022 6:34 AM > To: Lars Borg <borg@adobe.com> > Cc: Ken Russell <kbr@google.com>; public-colorweb@w3.org > Subject: [EXTERNAL] Re: Canvas Floating Point Color Values Propoal > > Thanks! > > I've created a PR incorporating this feedback, and also fixing a couple of > inconsistencies at > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fw3c%2FColorWeb-CG%2Fpull%2F85&data=05%7C01%7Cborg%40adobe.com%7Ce4f7137b602d447f8fa308dac33f4a5a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638036973867549789%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yoD92G0l59OcIJWW0nd0fN7NsdTPod70KyuzpIOc8Zs%3D&reserved=0 > > In particular, I was inconsistent about using "unorm8" versus > "uint8Clamped" for ImageData. I also changed ImageDataSettings to use > "dataType" instead of "colorType", since we are specifying the type for > ImageData's data member (BTW, would it better to use the full names of the > type "Uint8ClampedArray" and "Float32Array", rather than the abbreviated > "uint8Clamped" and "float32"). > > Let me know of any further feedback here or on the PR. > > > On Wed, Nov 9, 2022 at 2:54 AM Lars Borg <mailto:borg@adobe.com> wrote: > Needs statements about conversion between unorm8 and float16 > representations. > I assume such conversions will be needed. > > Also, spell out that the float16 encoding is as per IEEE? > > Lars > > From: Ken Russell <mailto:kbr@google.com> > Date: Tuesday, November 8, 2022 at 2:57 PM > To: Christopher Cameron <mailto:ccameron@google.com> > Cc: "mailto:public-colorweb@w3.org" <mailto:public-colorweb@w3.org> > Subject: Re: Canvas Floating Point Color Values Propoal > Resent-From: <mailto:public-colorweb@w3.org> > Resent-Date: Tuesday, November 8, 2022 at 2:57 PM > > EXTERNAL: Use caution when clicking on links or opening attachments. > > Looks great to me! > > > On Tue, Nov 8, 2022 at 5:47 AM Christopher Cameron <mailto: > ccameron@google.com> wrote: > As discussed in the previous call, I've separated floating point pixel > values from HDR canvas capabilities. > > The following document is that proposal. > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fw3c%2FColorWeb-CG%2Fblob%2Fmaster%2Fcanvas_float.md&data=05%7C01%7Cborg%40adobe.com%7Ce4f7137b602d447f8fa308dac33f4a5a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638036973867549789%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Aekkng0xasOSgAC%2FO%2F8rbIfxO7HlzTOqXCU8UOcLXeU%3D&reserved=0 > > Please provide any feedback you have on the proposal. I will be trying to > get this landed in the HTML spec first, and then introduce the HDR canvas > proposal separately. > > > > > -- > I support flexible work schedules, and I'm sending this email now because > it is within the hours I'm working today. Please do not feel obliged to > reply straight away - I understand that you will reply during the hours you > work, which may not match mine. (credit: jparent@) > >
Received on Friday, 11 November 2022 09:38:35 UTC