Enum InputSettings.OrientationCorrection (2.0.0)

public enum InputSettings.OrientationCorrection extends 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.

Static Fields

NameDescription
CORRECT_ORIENTATION

Apply any orientation specified in the EXIF metadata to the image during the first transformation.

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.

UNCHANGED_ORIENTATION

Do not apply any orientation correction specified in the EXIF metadata.

Static Methods

NameDescription
valueOf(String name)
values()