org.jmrtd.lds
Enum FaceInfo.ImageColorSpace
java.lang.Object
java.lang.Enum<FaceInfo.ImageColorSpace>
org.jmrtd.lds.FaceInfo.ImageColorSpace
- All Implemented Interfaces:
- Serializable, Comparable<FaceInfo.ImageColorSpace>
- Enclosing class:
- FaceInfo
public static enum FaceInfo.ImageColorSpace
- extends Enum<FaceInfo.ImageColorSpace>
Color space code based on Section 5.7.4 of ISO 19794-5.
UNSPECIFIED
public static final FaceInfo.ImageColorSpace UNSPECIFIED
RGB24
public static final FaceInfo.ImageColorSpace RGB24
YUV422
public static final FaceInfo.ImageColorSpace YUV422
GRAY8
public static final FaceInfo.ImageColorSpace GRAY8
OTHER
public static final FaceInfo.ImageColorSpace OTHER
values
public static FaceInfo.ImageColorSpace[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FaceInfo.ImageColorSpace c : FaceInfo.ImageColorSpace.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FaceInfo.ImageColorSpace valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null