public static enum HwmfBitmapDib.Compression extends java.lang.Enum<HwmfBitmapDib.Compression>
Enum Constant and Description |
---|
BI_BITFIELDS
The bitmap is not compressed and the color table consists of three DWORD
color masks that specify the red, green, and blue components, respectively, of each pixel.
|
BI_CMYK
The image is an uncompressed CMYK format.
|
BI_CMYKRLE4
A CMYK format that uses RLE compression for bitmaps with 4 bits per pixel.
|
BI_CMYKRLE8
A CMYK format that uses RLE compression for bitmaps with 8 bits per pixel.
|
BI_JPEG
The image is a JPEG image, as specified in [JFIF].
|
BI_PNG
The image is a PNG image, as specified in [RFC2083].
|
BI_RGB
The bitmap is in uncompressed red green blue (RGB) format that is not compressed
and does not use color masks.
|
BI_RLE4
An RGB format that uses RLE compression for bitmaps with 4 bits per pixel.
|
BI_RLE8
An RGB format that uses run-length encoding (RLE) compression for bitmaps
with 8 bits per pixel.
|
Modifier and Type | Method and Description |
---|---|
static HwmfBitmapDib.Compression |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HwmfBitmapDib.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HwmfBitmapDib.Compression BI_RGB
public static final HwmfBitmapDib.Compression BI_RLE8
public static final HwmfBitmapDib.Compression BI_RLE4
public static final HwmfBitmapDib.Compression BI_BITFIELDS
public static final HwmfBitmapDib.Compression BI_JPEG
public static final HwmfBitmapDib.Compression BI_PNG
public static final HwmfBitmapDib.Compression BI_CMYK
public static final HwmfBitmapDib.Compression BI_CMYKRLE8
public static final HwmfBitmapDib.Compression BI_CMYKRLE4
public static HwmfBitmapDib.Compression[] values()
for (HwmfBitmapDib.Compression c : HwmfBitmapDib.Compression.values()) System.out.println(c);
public static HwmfBitmapDib.Compression valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2021 The Apache Software Foundation or its licensors, as applicable.