|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<InputSettings.OrientationCorrection> com.google.appengine.api.images.InputSettings.OrientationCorrection
public static enum InputSettings.OrientationCorrection
Actions to take with respect to correcting image orientation based on image metadata. EXIF metadata within the image may contain a parameter indicating its proper orientation. This value can equal 1 through 8, inclusive. "1" means that the image is in its "normal" orientation, i.e., it should be viewed as it is stored.
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |