public final class EmfPlusPixelFormat
extends com.aspose.ms.System.Enum
The PixelFormat enumeration defines pixel formats that are supported in EMF+ bitmaps.
Modifier and Type | Field and Description |
---|---|
static int |
PixelFormat16bppARGB1555
The format is 16 bits per pixel; 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.
|
static int |
PixelFormat16bppGrayScale
The format is 16 bits per pixel, grayscale.
|
static int |
PixelFormat16bppRGB555
The format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components.
|
static int |
PixelFormat16bppRGB565
The format is 16 bits per pixel; 5 bits are used for the red component, 6 bits for the green component, and 5 bits for the blue component.
|
static int |
PixelFormat1bppIndexed
The format is monochrome, and a color palette lookup table is used.
|
static int |
PixelFormat24bppRGB
The format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.
|
static int |
PixelFormat32bppARGB
The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
|
static int |
PixelFormat32bppPARGB
The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
|
static int |
PixelFormat32bppRGB
The format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components.
|
static int |
PixelFormat48bppRGB
The format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.
|
static int |
PixelFormat4bppIndexed
The format is 16-color, and a color palette lookup table is used.
|
static int |
PixelFormat64bppARGB
The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
|
static int |
PixelFormat64bppPARGB
The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
|
static int |
PixelFormat8bppIndexed
The format is 256-color, and a color palette lookup table is used.
|
static int |
PixelFormatUndefined
The format is not specified.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
public static final int PixelFormatUndefined
The format is not specified.
Pixel formats are specified by Objects.EmfPlusBitmap
objects.
They are encoded as follows:
- Bits 0-7: Enumeration of the pixel format constants, starting at zero.
- Bits 8-15: The total number of bits per pixel.
- Bit 16: If set, the color value is indexed into a palette.
- Bit 17: If set, the color value is in a GDI-supported format.
- Bit 18: If set, the color value has an alpha component.
- Bit 19: If set, the color value has a premultiplied alpha component.
- Bit 20: If set, extended colors, 16-bits per channel, are supported.
- Bits 21-31: Reserved.
public static final int PixelFormat1bppIndexed
The format is monochrome, and a color palette lookup table is used.
public static final int PixelFormat4bppIndexed
The format is 16-color, and a color palette lookup table is used.
public static final int PixelFormat8bppIndexed
The format is 256-color, and a color palette lookup table is used.
public static final int PixelFormat16bppGrayScale
The format is 16 bits per pixel, grayscale.
public static final int PixelFormat16bppRGB555
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.
public static final int PixelFormat16bppRGB565
The format is 16 bits per pixel; 5 bits are used for the red component, 6 bits for the green component, and 5 bits for the blue component.
public static final int PixelFormat16bppARGB1555
The format is 16 bits per pixel; 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.
public static final int PixelFormat24bppRGB
The format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.
public static final int PixelFormat32bppRGB
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.
public static final int PixelFormat32bppARGB
The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
public static final int PixelFormat32bppPARGB
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.
public static final int PixelFormat48bppRGB
The format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.
public static final int PixelFormat64bppARGB
The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
public static final int PixelFormat64bppPARGB
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.