public static enum InputSettings.OrientationCorrection extends java.lang.Enum<InputSettings.OrientationCorrection>
Regardless of the OrientationCorrection
value used, the
orientation value in a transformed image is always cleared to indicate that
no additional corrections of the returned image's orientation is necessary.
Enum Constant and Description |
---|
CORRECT_ORIENTATION
Apply any orientation specified in the EXIF metadata to the image during
the first transformation.
|
UNCHANGED_ORIENTATION
Do not apply any orientation correction specified in the EXIF metadata.
|
Modifier and Type | Method and Description |
---|---|
static InputSettings.OrientationCorrection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputSettings.OrientationCorrection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputSettings.OrientationCorrection UNCHANGED_ORIENTATION
public static final InputSettings.OrientationCorrection CORRECT_ORIENTATION
NOTE: If the image is already in portrait orientation, i.e., "taller" than it is "wide" no correction will be made, since it appears that the camera has already corrected it.
public static InputSettings.OrientationCorrection[] values()
for (InputSettings.OrientationCorrection c : InputSettings.OrientationCorrection.values()) System.out.println(c);
public static InputSettings.OrientationCorrection 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