ExifInterface

public class ExifInterface
extends Object

java.lang.Object
   ↳ androidx.exifinterface.media.ExifInterface


This is a class for reading and writing Exif tags in various image file formats.

Supported for reading: JPEG, PNG, WebP, HEIF, DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW, RAF.

Supported for writing: JPEG, PNG, WebP, DNG.

Summary

Constants

short ALTITUDE_ABOVE_SEA_LEVEL

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

short ALTITUDE_BELOW_SEA_LEVEL

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

int COLOR_SPACE_S_RGB

The constant used by TAG_COLOR_SPACE to denote sRGB color space.

int COLOR_SPACE_UNCALIBRATED

The constant used by TAG_COLOR_SPACE to denote Uncalibrated.

short CONTRAST_HARD

The constant used by TAG_CONTRAST to denote hard contrast.

short CONTRAST_NORMAL

The constant used by TAG_CONTRAST to denote normal contrast.

short CONTRAST_SOFT

The constant 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 D