Returns the double value of the specified rational tag. If there is no such tag in the JPEG 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 JPEG file or the value cannot be parsed as integer, return defaultValue.
getLatLong (output() AsFloat) AsBoolean
Stores the latitude and longitude value in a float array. The first element is the latitude, and the second element is the longitude. Returns false if the Exif tags are not available.
hasThumbnailAsBoolean
Returns true if the JPEG file has a thumbnail.
Initialize (dirAsString, filenameAsString)
Initialize the ExifData object with a file name. This will throw an esception if the Android version is earlier than 2.0.
ORIENTATION_FLIP_HORIZONTALAsInt
ORIENTATION_FLIP_VERTICALAsInt
ORIENTATION_NORMALAsInt
ORIENTATION_ROTATE_180AsInt
ORIENTATION_ROTATE_270AsInt
ORIENTATION_ROTATE_90AsInt
ORIENTATION_TRANSPOSEAsInt
ORIENTATION_TRANSVERSEAsInt
ORIENTATION_UNDEFINEDAsInt
saveAttributes
Save the tag data into the JPEG file. This is expensive because it involves copying all the JPG data from one file to another and deleting the old file and renaming the other. It's best to use setAttribute(String, String) to set all attributes to write and make a single call rather than multiple calls for each attribute.
setAttribute (tagAsString, valueAsString)
Set the value of the specified tag.
TAG_APERTUREAsString
Attribute is string.
TAG_DATETIMEAsString
Attribute is string.
TAG_EXPOSURE_TIMEAsString
Attribute is string.
TAG_FLASHAsString
Attribute is int.
TAG_FOCAL_LENGTHAsString
Attribute is rational.
TAG_GPS_ALTITUDEAsString
The altitude (in meters) based on the reference in TAG_GPS_ALTITUDE_REF. Attribute is rational.
TAG_GPS_ALTITUDE_REFAsString
0 if the altitude is above sea level. 1 if the altitude is below sea level. Attribute is int.
TAG_GPS_DATESTAMPAsString
Attribute is string.
TAG_GPS_LATITUDEAsString
Format is "num1/denom1,num2/denom2,num3/denom3". Attribute is string.
TAG_GPS_LATITUDE_REFAsString
Attribute is string.
TAG_GPS_LONGITUDEAsString
Format is "num1/denom1,num2/denom2,num3/denom3". Attribute is string.
TAG_GPS_LONGITUDE_REFAsString
TAG_GPS_PROCESSING_METHODAsString
Name of GPS processing method used for location finding. Attribute is String.
TAG_GPS_TIMESTAMPAsString
Attribute is string.
TAG_IMAGE_LENGTHAsString
Attribute is int.
TAG_IMAGE_WIDTHAsString
Attribute is int.
TAG_ISOAsString
Attribute is string.
TAG_MAKEAsString
Attribute is string.
TAG_MODELAsString
Attribute is string.
TAG_ORIENTATIONAsString
Attribute is string.
TAG_WHITE_BALANCEAsString
Attribute is int.
Thumbnail() AsByte [read only]
Returns the thumbnail inside the JPEG file, or an empty array if there is no thumbnail. The returned data is in JPEG format and can be decoded using decodeByteArray(byte[], int, int)