PixelFormats Class
Represents the collection of supported pixel formats.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Bgr101010 | |
![]() ![]() | Bgr24 | |
![]() ![]() | Bgr32 | |
![]() ![]() | Bgr555 | |
![]() ![]() | Bgr565 | |
![]() ![]() | Bgra32 | |
![]() ![]() | BlackWhite | Gets the black and white pixel format which displays one bit of data per pixel as either black or white. |
![]() ![]() | Cmyk32 | Gets the Cmyk32 pixel format which displays 32 bits per pixel (BPP) with each color channel (cyan, magenta, yellow, and black) allocated 8 bits per pixel (BPP). |
![]() ![]() | Default | Gets the pixel format that is best suited for the particular operation. |
![]() ![]() | Gray16 | Gets the Gray16 pixel format which displays a 16 bits-per-pixel grayscale channel, allowing 65536 shades of gray. This format has a gamma of 1.0. |
![]() ![]() | Gray2 | Gets the Gray2 pixel format which displays a 2 bits-per-pixel grayscale channel, allowing 4 shades of gray. |
![]() ![]() | Gray32Float | Gets the Gray32Float pixel format. Gray32Float displays a 32 bits per pixel (BPP) grayscale channel, allowing over 4 billion shades of gray. This format has a gamma of 1.0. |
![]() ![]() | Gray4 | Gets the Gray4 pixel format which displays a 4 bits-per-pixel grayscale channel, allowing 16 shades of gray. |
![]() ![]() | Gray8 | Gets the Gray8 pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray. |
![]() ![]() | Indexed1 | Gets the pixel format specifying a paletted bitmap with 2 colors. |
![]() ![]() | Indexed2 | Gets the pixel format specifying a paletted bitmap with 4 colors. |
![]() ![]() | Indexed4 | Gets the pixel format specifying a paletted bitmap with 16 colors. |
![]() ![]() | Indexed8 | Gets the pixel format specifying a paletted bitmap with 256 colors. |
![]() ![]() | Pbgra32 | |
![]() ![]() | Prgba128Float | Gets the Prgba128Float pixel format. Prgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 32 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value. This format has a gamma of 1.0. |
![]() ![]() | Prgba64 | |
![]() ![]() | Rgb128Float | Gets the Rgb128Float pixel format. Rgb128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 BPP. This format has a gamma of 1.0. |
![]() ![]() | Rgb24 | |
![]() ![]() | Rgb48 | |
![]() ![]() | Rgba128Float | Gets the Rgba128Float pixel format. Rgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 bits per pixel (BPP). This format has a gamma of 1.0. |
![]() ![]() | Rgba64 |
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

