PixelFormat
Description
Image pixel format flags.
The pixel format of an image is not relevant during processing, because a uniform scanline layout is used (see Scanline). Images and image readers carry a pixel format for hinting only.
Public / Constants
Unknown
Unknown pixel format.
This value can be used as initial value to construct a valid pixel format.
Grayscale
Do pixels contain grayscale information (i.e. intensity channel)?
When this pixel format flag is set, each pixel contains grayscale information in an intensity channel.
The intensity channel is given in either linear or compressed sRGB color space (see SixteenBits).
Truecolor
Do pixels contain truecolor information (i.e. red, green and blue channels)?
When this pixel format flag is set, each pixel contains truecolor information in separate red, green and blue color channels.
The color channels are given in either linear or compressed sRGB color space (see SixteenBits).
Alpha
Do pixels contain transparency information (i.e. alpha channel)?
When this pixel format flag is set, each pixel contains transparency information in an alpha channel.
Precision
The number precision of raw pixel channel values is higher than 16-bit integers (e.g. floating-point values).
This flag implies SixteenBits.
- See also