I understand what the
ORIENTATION_NORMAL
,
ORIENTATION_ROTATE_180
,
ORIENTATION_ROTATE_270
,
ORIENTATION_ROTATE_90
and
ORIENTATION_UNDEFINED
.
However i do not understand what
ORIENTATION_FLIP_HORIZONTAL
,
ORIENTATION_FLIP_VERTICAL
,
ORIENTATION_TRANSPOSE
and
ORIENTATION_TRANSVERSE
means in the ExifInterface class in Android. I have searched through Google and could not find anything.
Thanks in advance.
[ ExifInterface ] is a class for reading and writing Exif tags in a JPEG file or a RAW image file. Exif is a specification for supporting metadata in a file, mostly used for JPEG, TIFF, and other image formats.
ExifInterface is used in writing the image information when the picture is taken. It is also helpful to handle orientation while saving the image to phone storage.
Here are comments from source code (android\media\ExifInterface.java):
// left right reversed mirror
public static final int ORIENTATION_FLIP_HORIZONTAL = 2;
// upside down mirror
public static final int ORIENTATION_FLIP_VERTICAL = 4;
// flipped about top-left <--> bottom-right axis
public static final int ORIENTATION_TRANSPOSE = 5;
// flipped about top-right <--> bottom-left axis
public static final int ORIENTATION_TRANSVERSE = 7;
I think they are self-explaining.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With