2.2.2.17 MilPixelFormat

The MilPixelFormat enumeration specifies the format of the bits of an image or surface.

 typedef  enum
 {
   MILPixelFormat1bppIndexed = 0x00000001,
   MILPixelFormat2bppIndexed = 0x00000002,
   MILPixelFormat4bppIndexed = 0x00000003,
   MILPixelFormat8bppIndexed = 0x00000004,
   MILPixelFormatBlackWhite = 0x00000005,
   MILPixelFormat2bppGray = 0x00000006,
   MILPixelFormat4bppGray = 0x00000007,
   MILPixelFormat8bppGray = 0x00000008,
   MILPixelFormat16bppBGR555 = 0x00000009,
   MILPixelFormat16bppBGR565 = 0x0000000A,
   MILPixelFormat16bppGray = 0x0000000B,
   MILPixelFormat24bppBGR = 0x0000000C,
   MILPixelFormat24bppRGB = 0x0000000D,
   MILPixelFormat32bppBGR = 0x0000000E,
   MILPixelFormat32bppBGRA = 0x0000000F,
   MILPixelFormat32bppPBGRA = 0x00000010,
   MILPixelFormat32bppGrayFloat = 0x00000011,
   MILPixelFormat48bppRGBFixedPoint = 0x00000012,
   MILPixelFormat16bppGrayFixedPoint = 0x00000013,
   MILPixelFormat32bppBGR101010 = 0x00000014,
   MILPixelFormat48bppRGB = 0x00000015,
   MILPixelFormat64bppRGBA = 0x00000016,
   MILPixelFormat64bppPRGBA = 0x00000017,
   MILPixelFormat96bppBGRFixedPoint = 0x00000018,
   MILPixelFormat128bppRGBAFloat = 0x00000019,
   MILPixelFormat128bppPRGBAFloat = 0x0000001A,
   MILPixelFormat128bppRGBFloat = 0x0000001B,
   MILPixelFormat32bppCMYK = 0x0000001C,
   MILPixelFormat64bppRGBAFixedPoint = 0x0000001D,
   MILPixelFormat128bppRGBAFixedPoint = 0x0000001E,
   MILPixelFormat64bppCMYK = 0x0000001F,
   MILPixelFormat40bppCMYKAlpha = 0x0000002C,
   MILPixelFormat80bppCMYKAlpha = 0x0000002D
 } MilPixelFormat;

MILPixelFormat1bppIndexed:  Paletted image with 2 colors.

MILPixelFormat2bppIndexed:  Paletted image with 4 colors.

MILPixelFormat4bppIndexed:  Paletted image with 16 colors.

MILPixelFormat8bppIndexed:  Paletted image with 256 colors.

MILPixelFormatBlackWhite:  Monochrome, 2-color image, black and white only.

MILPixelFormat2bppGray:  Image with 4 shades of gray.

MILPixelFormat4bppGray:  Image with 16 shades of gray.

MILPixelFormat8bppGray:  Image with 256 shades of gray.

MILPixelFormat16bppBGR555:  16 bpp SRGB format.

MILPixelFormat16bppBGR565:  16 bpp SRGB format.

MILPixelFormat16bppGray:  Image with 65,535 shades of gray.

MILPixelFormat24bppBGR:  24 bpp SRGB format.

MILPixelFormat24bppRGB:  24 bpp SRGB format.

MILPixelFormat32bppBGR:  32 bpp SRGB format, leading byte padded.

MILPixelFormat32bppBGRA:  32 bpp SRGB+Alpha.

MILPixelFormat32bppPBGRA:  32 bpp SRGB+Premultiplied Alpha.

MILPixelFormat32bppGrayFloat:  32bpp Gray Floating Point format.

MILPixelFormat48bppRGBFixedPoint:  48 bpp ScRGB format.

MILPixelFormat16bppGrayFixedPoint:  16 bpp Fixed Point format.

MILPixelFormat32bppBGR101010:  32 bpp SRGB format, leadin 2 bits padded.

MILPixelFormat48bppRGB:  48 bpp SRGB format.

MILPixelFormat64bppRGBA:  64 bpp SRGB+Alpha format.

MILPixelFormat64bppPRGBA:  64 bpp SRGB+Premultiplied Alpha format.

MILPixelFormat96bppBGRFixedPoint:  96 bpp ScRGB fixed point.

MILPixelFormat128bppRGBAFloat:  128 bpp ScRGB+Alpha floating point.

MILPixelFormat128bppPRGBAFloat:  128 bpp ScRGB+Premultiplied Alpha floating point.

MILPixelFormat128bppRGBFloat:  128 bpp ScRGB format, leading 4 bytes padded.

MILPixelFormat32bppCMYK:  32 bpp CMYK format.

MILPixelFormat64bppRGBAFixedPoint:  64 bpp ScRGB+Alpha fixed point.

MILPixelFormat128bppRGBAFixedPoint:  128 bpp ScRGB+Alpha floating point.

MILPixelFormat64bppCMYK:  64 bpp CMYK format.

MILPixelFormat40bppCMYKAlpha:  40 bpp CMYK+Alpha format.

MILPixelFormat80bppCMYKAlpha:  80 bpp CMYK+Alpha format.