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://github.com/w3c/ColorWeb-CG/pull/85

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 <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 <kbr@google.com>
> *Date: *Tuesday, November 8, 2022 at 2:57 PM
> *To: *Christopher Cameron <ccameron@google.com>
> *Cc: *"public-colorweb@w3.org" <public-colorweb@w3.org>
> *Subject: *Re: Canvas Floating Point Color Values Propoal
> *Resent-From: *<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 <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://github.com/w3c/ColorWeb-CG/blob/master/canvas_float.md
> <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%7C26a71e5c2a514107ff1208dac1ed6144%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638035522532086157%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Lk%2BfOc%2FfGpMuYGLiafFG8f9A0lr0hsWgjtQqhPhnE1c%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 Thursday, 10 November 2022 14:34:18 UTC