PixelFormat
enum PixelFormat
Alpha = 262144
Specifies that pixel data contains alpha values that are not pre-multiplied.
Canonical = 2097152
DontCare = 0
Specifies that pixel format doesn't matter.
Extended = 1048576
Specifies that pixel format contains extended color values of 16 bits per channel.
Format16bppArgb1555 = 397319
Specifies that pixel format is 16 bits per pixel. The color information specifies 32768 shades of color of
which 5 bits are red, 5 bits are green, 5 bits are blue and 1 bit is alpha.
Format16bppGrayScale = 1052676
Specifies that pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.
Format16bppRgb555 = 135173
Specifies that pixel format is 16 bits per pixel. The color information specifies 32768 shades of color of
which 5 bits are red, 5 bits are green and 5 bits are blue.
Format16bppRgb565 = 135174
Format1bppIndexed = 196865
Specifies that pixel format is 1 bit per pixel indexed color. The color table therefore has two colors in it.
Format24bppRgb = 137224
Specifies that pixel format is 24 bits per pixel. The color information specifies 16777216 shades of color
of which 8 bits are red, 8 bits are green and 8 bits are blue.
Format32bppArgb = 2498570
Specifies that pixel format is 32 bits per pixel. The color information specifies 16777216 shades of color
of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are alpha bits.
Format32bppPArgb = 925707
Specifies that pixel format is 32 bits per pixel. The color information specifies 16777216 shades of color
of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are pre-multiplied alpha bits.
Format32bppRgb = 139273
Specifies that pixel format is 24 bits per pixel. The color information specifies 16777216 shades of color
of which 8 bits are red, 8 bits are green and 8 bits are blue.
Format48bppRgb = 1060876
Specifies that pixel format is 48 bits per pixel. The color information specifies 16777216 shades of color
of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are alpha bits.
Format4bppIndexed = 197634
Specifies that pixel format is 4 bits per pixel indexed color. The color table therefore has 16 colors in it.
Format64bppArgb = 3424269
Specifies pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color of
which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are alpha bits.
Format64bppPArgb = 1851406
Specifies that pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color
of which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are pre-multiplied
alpha bits.
Format8bppIndexed = 198659
Specifies that pixel format is 8 bits per pixel indexed color. The color table therefore has 256 colors in it.
Gdi = 131072
Specifies that pixel data contains GDI colors.
Indexed = 65536
Specifies that pixel data contains color indexed values which means they are an index to colors in the
system color table, as opposed to individual color values.
Max = 15
Specifies that pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color
of which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are alpha bits.
PAlpha = 524288
Specifies that pixel format contains pre-multiplied alpha values.
Undefined = 0
Specifies that pixel format is undefined.