public static enum ImageStorage.ImageType extends Enum<ImageStorage.ImageType>
Enum Constant and Description |
---|
GRAY
An image with a single channel of 8-bit valued gray levels.
|
GRAY_ALPHA
An image with with two 8-bit valued channels, one of gray levels,
the other of non-premultiplied opacity, ordered as GAGAGA...
|
GRAY_ALPHA_PRE
An image with with two 8-bit valued channels, one of gray levels,
the other of premultiplied opacity, ordered as GAGAGA...
|
PALETTE
An image with with one 8-bit channel of indexes into a 24-bit
lookup table which maps the indexes to 8-bit RGB components.
|
PALETTE_ALPHA
An image with with one 8-bit channel of indexes into a 32-bit
lookup table which maps the indexes to 8-bit RGBA components
wherein the opacity is not-premultiplied.
|
PALETTE_ALPHA_PRE
An image with with one 8-bit channel of indexes into a 32-bit
lookup table which maps the indexes to 8-bit RGBA components
wherein the opacity is premultiplied.
|
PALETTE_TRANS
An image with with one 8-bit channel of indexes into a 24-bit
lookup table which maps the indexes to 8-bit RGB components, and
a single transparent index to indicate the location of transparent
pixels.
|
RGB
An image with with three 8-bit valued channels of red, green, and
blue, respectively, ordered as RGBRGBRGB...
|
RGBA
An image with with four 8-bit valued channels of red, green, blue,
and non-premultiplied opacity, respectively, ordered as
RGBARGBARGBA...
|
RGBA_PRE
An image with with four 8-bit valued channels of red, green, blue,
and premultiplied opacity, respectively, ordered as
RGBARGBARGBA...
|
Modifier and Type | Method and Description |
---|---|
static ImageStorage.ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageStorage.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageStorage.ImageType GRAY
public static final ImageStorage.ImageType GRAY_ALPHA
public static final ImageStorage.ImageType GRAY_ALPHA_PRE
public static final ImageStorage.ImageType PALETTE
public static final ImageStorage.ImageType PALETTE_ALPHA
public static final ImageStorage.ImageType PALETTE_ALPHA_PRE
public static final ImageStorage.ImageType PALETTE_TRANS
public static final ImageStorage.ImageType RGB
public static final ImageStorage.ImageType RGBA
public static final ImageStorage.ImageType RGBA_PRE
public static ImageStorage.ImageType[] values()
for (ImageStorage.ImageType c : ImageStorage.ImageType.values()) System.out.println(c);
public static ImageStorage.ImageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.