added in version 25.1.0
belongs to Maven artifact com.android.support:exifinterface:28.0.0-alpha1

ExifInterface

public class ExifInterface
extends Object

java.lang.Object
   ↳ android.support.media.ExifInterface


This 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.

Summary

Constants

short ALTITUDE_ABOVE_SEA_LEVEL

The contant used by TAG_GPS_ALTITUDE_REF to denote the altitude is above sea level.

short ALTITUDE_BELOW_SEA_LEVEL

The contant used by TAG_GPS_ALTITUDE_REF to denote the altitude is below sea level.

int COLOR_SPACE_S_RGB

The contant used by TAG_COLOR_SPACE to denote sRGB color space.

int COLOR_SPACE_UNCALIBRATED

The contant used by TAG_COLOR_SPACE to denote Uncalibrated.

short CONTRAST_HARD

The contant used by TAG_CONTRAST to denote hard contrast.

short CONTRAST_NORMAL

The contant used by TAG_CONTRAST to denote normal contrast.

short CONTRAST_SOFT

The contant used by TAG_CONTRAST to denote soft contrast.

int DATA_DEFLATE_ZIP

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.

int DATA_HUFFMAN_COMPRESSED

The constant used by TAG_COMPRESSION to denote the image is huffman compressed.

int DATA_JPEG

The constant used by TAG_COMPRESSION to denote the image is JPEG.

int DATA_JPEG_COMPRESSED

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.

int DATA_LOSSY_JPEG

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.

int DATA_PACK_BITS_COMPRESSED

The constant used by TAG_COMPRESSION to denote the image is pack-bits compressed.

int DATA_UNCOMPRESSED

The constant used by TAG_COMPRESSION to denote the image is not compressed.

short EXPOSURE_MODE_AUTO

The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto.

short EXPOSURE_MODE_AUTO_BRACKET

The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto bracket.

short EXPOSURE_MODE_MANUAL

The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Manual.

short EXPOSURE_PROGRAM_ACTION

The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Action program (biased toward fast shutter speed).

short EXPOSURE_PROGRAM_APERTURE_PRIORITY

The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Aperture priority.

short EXPOSURE_PROGRAM_CREATIVE

The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Creative program (biased toward depth of field).