public static enum TiffBitmapFactory.ImageConfig extends java.lang.Enum<TiffBitmapFactory.ImageConfig>
| Enum Constant and Description |
|---|
ALPHA_8
Each pixel is stored as a single translucency (alpha) channel.
|
ARGB_8888
Each pixel is stored on 4 bytes.
|
RGB_565
Each pixel is stored on 2 bytes and only the RGB channels are
encoded: red is stored with 5 bits of precision (32 possible
values), green is stored with 6 bits of precision (64 possible
values) and blue is stored with 5 bits of precision.
|
| Modifier and Type | Method and Description |
|---|---|
static TiffBitmapFactory.ImageConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TiffBitmapFactory.ImageConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiffBitmapFactory.ImageConfig ARGB_8888
public static final TiffBitmapFactory.ImageConfig RGB_565
public static final TiffBitmapFactory.ImageConfig ALPHA_8
public static TiffBitmapFactory.ImageConfig[] values()
for (TiffBitmapFactory.ImageConfig c : TiffBitmapFactory.ImageConfig.values()) System.out.println(c);
public static TiffBitmapFactory.ImageConfig 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 null