The metadata describing the contents of a components.ImageBuffer.
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
Struct(
"width": non-null UInt32
"height": non-null UInt32
"pixel_format": UInt8
"color_model": UInt8
"channel_datatype": UInt8
)API reference links
- π C++ API docs for
ImageFormat - π Python API docs for
ImageFormat - π¦ Rust API docs for
ImageFormat