public enum ImageFormat extends java.lang.Enum<ImageFormat>
This enumeration represents all the image formats supported by GBS Fingerprint.
Enum Constant and Description |
---|
BMP |
BMP24BITS |
GIF |
JPEG |
JPEG2000 |
PNG |
RAW |
RGB |
TIFF |
WSQ |
Modifier and Type | Method and Description |
---|---|
static ImageFormat |
fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
|
int |
value()
Gets the enumaration object value.
|
static ImageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageFormat RAW
public static final ImageFormat RGB
public static final ImageFormat BMP
public static final ImageFormat BMP24BITS
public static final ImageFormat GIF
public static final ImageFormat JPEG
public static final ImageFormat JPEG2000
public static final ImageFormat PNG
public static final ImageFormat TIFF
public static final ImageFormat WSQ
public static ImageFormat[] values()
for (ImageFormat c : ImageFormat.values()) System.out.println(c);
public static ImageFormat 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 nullpublic int value()
Gets the enumaration object value.
public static ImageFormat fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
value
-