OfficeImage.PixelFormat Property
Gets the pixel format of the image.
Namespace: DevExpress.Office.Utils
Assembly: DevExpress.Office.v24.2.Core.dll
NuGet Package: DevExpress.Office.Core
#Declaration
public abstract OfficePixelFormat PixelFormat { get; }
#Property Value
Type | Description |
---|---|
Office |
An Office |
Available values:
Name | Description |
---|---|
Dont |
No pixel format is specified. |
Undefined | The pixel format is undefined. |
Max | The maximum value for this enumeration. |
Indexed | The 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. |
Gdi | The pixel data contains GDI colors. |
Format16bpp |
Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used. |
Format16bpp |
Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component. |
Format24bpp |
Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components. |
Format32bpp |
Specifies 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. |
Format1bpp |
Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it. |
Format4bpp |
Specifies that the format is 4 bits per pixel, indexed. |
Format8bpp |
Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it. |
Alpha | The pixel data contains alpha values that are not premultiplied. |
Format16bpp |
The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha. |
PAlpha | The pixel format contains premultiplied alpha values. |
Format32bpp |
Specifies 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 premultiplied, according to the alpha component. |
Extended | Reserved. |
Format16bpp |
The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray. |
Format48bpp |
Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components. |
Format64bpp |
Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component. |
Canonical | The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit alpha channel. |
Format32bpp |
Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. |
Format64bpp |
Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. |