ImageFormat
The metadata describing the contents of a components.ImageBuffer.
Fields fields
width
Type: non-null UInt32
The width of the image in pixels.
height
Type: non-null UInt32
The height of the image in pixels.
pixel_format
Type: PixelFormat
Used mainly for chroma downsampled formats and differing number of bits per channel.
If specified, this takes precedence over both datatypes.ColorModel and datatypes.ChannelDatatype (which are ignored).
color_model
Type: ColorModel
L, RGB, RGBA, …
Also requires a datatypes.ChannelDatatype to fully specify the pixel format.
channel_datatype
Type: ChannelDatatype
The data type of each channel (e.g. the red channel) of the image data (U8, F16, …).
Also requires a datatypes.ColorModel to fully specify the pixel format.
Arrow datatype arrow-datatype
Struct(
"width": non-null UInt32
"height": non-null UInt32
"pixel_format": UInt8
"color_model": UInt8
"channel_datatype": UInt8
)