PixelDataFormat

PixelDataFormat class

The pixel data format.

public class PixelDataFormat

Properties

NameDescription
static Cmyk { get; }Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the cyan, magenta, yellow and black.
static Grayscale { get; }Gets the PixelDataFormat defined for 8 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval.
static GrayscaleAlpha { get; }Gets the PixelDataFormat defined for 16 bits per pixel with 8 bits representing grayscale intensity in the 0-255 interval and additional 8 bit alpha component.
static Rgb16Bpp555 { get; }Gets the PixelDataFormat defined for 16 bits per pixel with 5 bits for each of the red, green and blue, alpha is not defined.
static Rgb24Bpp { get; }Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined.
static Rgb24BppPng { get; }Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the alpha, red, green and blue, alpha is not defined.
static Rgb32Bpp { get; }Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue.
static Rgba32Bpp { get; }Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the alpha, red, green and blue.
static RgbIndexed1Bpp { get; }Gets the PixelDataFormat defined for indexed 1 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model.
static RgbIndexed2Bpp { get; }Gets the PixelDataFormat defined for indexed 2 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model.
static RgbIndexed4Bpp { get; }Gets the PixelDataFormat defined for indexed 4 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model.
static RgbIndexed8Bpp { get; }Gets the PixelDataFormat defined for indexed 8 bit per color. The indexed pixel data storage is intended to allow data storage and retrieval everywhere the color palette is used. Use with caution, because may require conversion from one palette to another or from RGBA to indexed color model.
static YCbCr { get; }Gets the PixelDataFormat defined for 24 bits per pixel with 8 bits for each of the luma, blue-difference and red-difference chroma components.
static Ycck { get; }Gets the PixelDataFormat defined for 32 bits per pixel with 8 bits for each of the luma, blue-difference, red-difference and black chroma components.
BitsPerPixel { get; }Gets the bits per pixel.
ChannelBits { get; }Gets the bits count for each channel.
ChannelsCount { get; }Gets the channels count.
PixelFormat { get; }Gets the pixel format.

Methods

NameDescription
override Equals(object)Determines whether the specified Object is equal to this instance.
override GetHashCode()Returns a hash code for this instance.
override ToString()Returns a String that represents this instance.
operator ==Returns result of equality for two PixelDataFormat classes.
operator !=Returns result of non-equality for two PixelDataFormat classes.

See Also