PixelFormat

Specifieds a particular format of an archetypes.Image.

Most images can be described by a components.ColorModel and a components.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 components.PixelFormat is for.

All these formats support random access.

For more compressed image formats, see archetypes.ImageEncoded.

Variants variants

  • NV12
  • YUY2

Used by used-by