ImageDataPixelFormat Enum

The formats of the pixels of an ImageData (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagedatapixelformat).

public enum ImageDataPixelFormat

Fields

NameValueDescription
RgbaUnorm804 bytes per pixel (R, G, B, A), in a Uint8ClampedArray.
RgbaFloat1614 half-precision floats per pixel (R, G, B, A), in a Float16Array; the color channels can include values outside of [0, 1].