Skip to main content
PixelFormats Class
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the collection of supported pixel formats.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

SystemObject
  System.Windows.MediaPixelFormats

public static class PixelFormats
public ref class PixelFormats abstract sealed 
[<AbstractClass>]
[<Sealed>]
type PixelFormats = class end
Public NotInheritable Class PixelFormats
NameDescription
System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 32 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 10 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 24 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 8 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 32 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 8 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 16 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 5 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 16 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 5, 6, and 5 bits per pixel (BPP) respectively.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the black and white pixel format which displays one bit of data per pixel as either black or white.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format which displays 32 bits per pixel (BPP) with each color channel (cyan, magenta, yellow, and black) allocated 8 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format that is best suited for the particular operation.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format which displays a 16 bits-per-pixel grayscale channel, allowing 65536 shades of gray. This format has a gamma of 1.0.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format which displays a 2 bits-per-pixel grayscale channel, allowing 4 shades of gray.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. displays a 32 bits per pixel (BPP) grayscale channel, allowing over 4 billion shades of gray. This format has a gamma of 1.0.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format which displays a 4 bits-per-pixel grayscale channel, allowing 16 shades of gray.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format specifying a paletted bitmap with 2 colors.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format specifying a paletted bitmap with 4 colors.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format specifying a paletted bitmap with 16 colors.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format specifying a paletted bitmap with 256 colors.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. 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.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 64 bits per pixel (BPP). Each channel (blue, green, red, 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.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. 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.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 24 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 8 bits per pixel (BPP).

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is a sRGB format with 48 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 16 bits per pixel (BPP). This format has a gamma of 1.0.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. 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.

System_CAPS_pubproperty System_CAPS_static

Gets the pixel format. is an sRGB format with 64 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 16 bits per pixel (BPP). This format has a gamma of 1.0.

.NET Framework
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.

Return to top