Returns the offset and length of thumbnail inside the image file, or
null if either there is no thumbnail or the thumbnail bytes are stored non-consecutively.
Returns the double value of the tag that is specified as rational or contains a double-formatted value. If there is no such tag in the image file or the value cannot be parsed as double, return defaultValue.
Returns the integer value of the specified tag. If there is no such tag in the image file or the value cannot be parsed as integer, return defaultValue.
Returns the rotation degrees for the current image orientation. If the image is flipped, i.e., isFlipped() returns true,
the rotation degrees will be base on the assumption that the image is first flipped horizontally (along Y-axis), and then do the rotation.
For example, ORIENTATION_TRANSPOSE will be interpreted as flipped horizontally first, and then rotate 270 degrees clockwise.
Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail.
The returned data can be decoded using BitmapFactory#decodeByteArray(byte[],int,int)
Save the tag data into the original image file. This is expensive because it involves copying all the data from one file to another and deleting the old file and renaming the other.
It's best to set all attributes to write and make a single call rather than multiple calls for each attribute.