Skip to main content

Posts

Showing posts from May 3, 2017

ExifInterface in Android

ExifInterface is a class for reading and writing Exif tags in a JPEG file or a RAW image file. Supported formats are: JPEG, DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW and RAF. Attribute mutation is supported for JPEG image files. In clear way we can say: Exif is a specification for supporting metadata in a file, mostly used for JPEG, TIFF, and other image formats. The TAG_-prefixed constants on ExifInterface identify common tags, though not every image will have every tag. Tags that are popular among developers include TAG_ORIENTATION (indicating the orientation of the camera when the image was captured) and the TAG_GPS_-prefixed family (for geotagging). With the release of the 25.1.0 Support Library, there's a new entry in the family: the ExifInterface Support Library. With significant improvements introduced in Android 7.1 to the framework's ExifInterface , it only made sense to make those available to all API 9+ devices via the Support Library's ExifInterf