Enum PixelFormat

PixelFormat enumeration

Specifies the format of the color data for each pixel in the image.

public enum PixelFormat

Values

NameValueDescription
Undefined0The pixel format is undefined.
Indexed65536The pixel data contains color-indexed values, which means the values are an index. to colors in the system color table, as opposed to individual color values.
Format24bppRgb137224Specifies that the format is 24 bits per pixel; 8 bits each are used for the. red, green, and blue components..
Format32bppRgb139273Specifies that the format is 32 bits per pixel; 8 bits each are used for the. red, green, and blue components. The remaining 8 bits are not used.
Format1bppIndexed196865Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.
Format4bppIndexed197634Specifies that the format is 4 bits per pixel, indexed.
Format8bppIndexed198659Specifies that the format is 8 bits per pixel, indexed. The color table therefore. has 256 colors in it..
Alpha262144The pixel data contains alpha values that are not premultiplied.
PAlpha524288The pixel format contains premultiplied alpha values.
Format32bppPArgb925707Specifies that the format is 32 bits per pixel; 8 bits each are used for the. alpha, red, green, and blue components. The red, green, and blue components are.
Format16bppGrayScale1052676The pixel format is 16 bits per pixel. The color information specifies 65536. shades of gray..
Format32bppArgb2498570Specifies that the format is 32 bits per pixel; 8 bits each are used for the. alpha, red, green, and blue components.

See Also