PixelFormat Values (Windows CE 5.0)
These values are flags used to identify the numerical formats of pixels in images.
Value | Description |
---|---|
PixelFormatIndexed | Is an indexes into a palette. |
PixelFormatGDI | Is a GDI-supported format. |
PixelFormatAlpha | Has an alpha component. |
PixelFormatPAlpha | Is the pre-multiplied alpha. |
PixelFormatExtended | Is extended color 16 bits/channel. |
PixelFormatCanonical | Is in canonical format. |
PixelFormatUndefined | Is in an undefined format. |
PixelFormatDontCare | Is any format. |
PixelFormat1bppIndexed | Is the 1 bit-per-pixel indexed color bitmap.
Definition:
|
PixelFormat4bppIndexed | Is 4bpp indexed color.
Definition:
|
PixelFormat8bppIndexed | Is 8bpp indexed color.
Definition:
|
PixelFormat16bppGrayScale | Is 16bpp grayscale.
Definition:
|
PixelFormat16bppRGB555 | Is 16bpp RGB 5-5-5 (blue in low-order bits).
Definition:
|
PixelFormat16bppRGB565 | Is 16bpp RGB 5-6-5.
Definition:
|
PixelFormat16bppARGB1555 | Is 16bpp ARGB 1-5-5-5.
Definition:
|
PixelFormat24bppRGB | Is 24bpp RGB (blue in low-order byte).
Definition:
|
PixelFormat32bppRGB | Is 32bpp RGB (high order byte unused)
Definition:
|
PixelFormat32bppARGB | Is 32bpp ARGB, non-premultiplied alpha.
Definition:
|
PixelFormat32bppPARGB | Is 32bpp ARGB, premultiplied alpha.
Definition:
|
PixelFormat48bppRGB | Is 48bpp RGB.
Definition:
|
PixelFormat64bppARGB | Is 64bpp ARGB, non-premultiplied alpha
Definition:
|
PixelFormat64bppPARGB | Is 64bpp ARGB, premultiplied alpha.
Definition:
|
PixelFormatMax | The underlying value of this macro can be used literally as the upper bound of a loop through all the other pixel formats. |
Remarks
Pixel formats that support a 16-bit per color component are called extended formats.
The two 32bpp ARGB formats and the two 64bpp ARGB formats are called canonical formats.
Color values for extended pixel formats are interpreted in XsRGB linear space. Color values for other pixel formats are interpreted in sRGB space.
Alpha values are always interpreted in linear space.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
See Also
Send Feedback on this topic to the authors