PixelFormat
Specifieds a particular format of an archetypes.Image
.
Most images can be described by a datatypes.ColorModel
and a datatypes.ChannelDatatype
,
e.g. RGB
and U8
respectively.
However, some image formats has chroma downsampling and/or
use differing number of bits per channel, and that is what this datatypes.PixelFormat
is for.
All these formats support random access.
For more compressed image formats, see archetypes.EncodedImage
.
Variants variants
- NV12
- YUY2