Open
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/ImageData
What specific section or headline is this issue about?
The new pixelFormat attribute allows Float16Array-backed ImageData
What information was incorrect, unhelpful, or incomplete?
A new feature has been added in this PR:
whatwg/html#11143
Shipping support in browsers will come very soon (Chromium will add this extremely soon).
What did you expect to see?
In the ImageData
and CanvasRenderingContext2D
pages, we need to update:
ImageData
> instance properties: add thepixelFormat
propertyImageData
> instance properties >data
: Change the description ofImageData.data
to indicate that it may be aFloat16Array
iffpixelFormat
isrgba-float16
.ImageData
> Constructor: Add discussion ofImageDataSettings
, which can be used to initialize bothpixelFormat
andcolorSpace
CanvasRenderingContext2D
>getImageData
>settings
, addpixelFormat
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response