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 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 constant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto.

short EXPOSURE_MODE_AUTO_BRACKET

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

short EXPOSURE_MODE_MANUAL

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

short EXPOSURE_PROGRAM_ACTION

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

short EXPOSURE_PROGRAM_APERTURE_PRIORITY

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

short EXPOSURE_PROGRAM_CREATIVE

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

short EXPOSURE_PROGRAM_LANDSCAPE_MODE

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Landscape mode (for landscape photos with the background in focus).

short EXPOSURE_PROGRAM_MANUAL

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Manual.

short EXPOSURE_PROGRAM_NORMAL

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Normal.

short EXPOSURE_PROGRAM_NOT_DEFINED

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is not defined.

short EXPOSURE_PROGRAM_PORTRAIT_MODE

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Portrait mode (for closeup photos with the background out of focus).

short EXPOSURE_PROGRAM_SHUTTER_PRIORITY

The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Shutter priority.

short FILE_SOURCE_DSC

The constant used by TAG_FILE_SOURCE to denote the source is DSC.

short FILE_SOURCE_OTHER

The constant used by TAG_FILE_SOURCE to denote the source is other.

short FILE_SOURCE_REFLEX_SCANNER

The constant used by TAG_FILE_SOURCE to denote the source is scanner of reflex type.

short FILE_SOURCE_TRANSPARENT_SCANNER

The constant used by TAG_FILE_SOURCE to denote the source is scanner of transparent type.

short FLAG_FLASH_FIRED

The flag used by TAG_FLASH to indicate whether the flash is fired.

short FLAG_FLASH_MODE_AUTO

The flag used by TAG_FLASH to indicate the camera's flash mode is Auto.

short FLAG_FLASH_MODE_COMPULSORY_FIRING

The flag used by TAG_FLASH to indicate the camera's flash mode is Compulsory flash firing.

short FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION

The flag used by TAG_FLASH to indicate the camera's flash mode is Compulsory flash suppression.

short FLAG_FLASH_NO_FLASH_FUNCTION

The flag used by TAG_FLASH to indicate no flash function is present.

short FLAG_FLASH_RED_EYE_SUPPORTED

The flag used by TAG_FLASH to indicate red-eye reduction is supported.

short FLAG_FLASH_RETURN_LIGHT_DETECTED

The flag used by TAG_FLASH to indicate strobe return light is detected.

short FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED

The flag used by TAG_FLASH to indicate strobe return light is not detected.