ExifInterface

open class ExifInterface
kotlin.Any
   ↳ 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.

Summary

Constants
static Short

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

static Short

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

static Int

The constant used by TAG_COLOR_SPACE to denote sRGB color space.

static Int

The constant used by TAG_COLOR_SPACE to denote Uncalibrated.

static Short

The constant used by TAG_CONTRAST to denote hard contrast.

static Short

The constant used by TAG_CONTRAST to denote normal contrast.

static Short

The constant used by TAG_CONTRAST to denote soft contrast.

static Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.

static Int

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

static Int

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

static Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.

static Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.

static Int

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

static Int

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

The constant used by TAG_PLANAR_CONFIGURATION to denote Chunky format.

static Short

The constant used by TAG_PLANAR_CONFIGURATION to denote Planar format.

static Short

The constant used by TAG_GAIN_CONTROL to denote high gain down.

static Short

The constant used by TAG_GAIN_CONTROL to denote high gain up.

static Short

The constant used by TAG_GAIN_CONTROL to denote low gain down.

static Short

The constant used by TAG_GAIN_CONTROL to denote low gain up.

static Short

The constant used by TAG_GAIN_CONTROL to denote none gain adjustment.

static String

The constant used by GPS attributes to denote the direction is magnetic direction.

static String

The constant used by GPS attributes to denote the direction is true direction.

static String

The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is kilometers.

static String

The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is miles.

static String

The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is nautical miles.

static String

The constant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is 2-dimensional.

static String

The constant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is 3-dimensional.

static Short

The constant used by TAG_GPS_DIFFERENTIAL to denote differential correction is applied.

static String

The constant used by TAG_GPS_STATUS to denote GPS measurement is interrupted.

static String

The constant used by TAG_GPS_STATUS to denote GPS measurement is in progress.

static Short

The constant used by TAG_GPS_DIFFERENTIAL to denote no differential correction is applied.

static String

The constant used by TAG_GPS_SPEED_REF to denote the speed unit is kilometers per hour.

static String

The constant used by TAG_GPS_SPEED_REF to denote the speed unit is knots.

static String

The constant used by TAG_GPS_SPEED_REF to denote the speed unit is miles per hour.

static String

The constant used by GPS latitude-related tags to denote the latitude is North latitude.

static String

The constant used by GPS latitude-related tags to denote the latitude is South latitude.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Cloudy weather.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Cool white fluorescent (W 3800 - 4500K).

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is D50.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is D55.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is D65.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is D75.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Daylight.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Daylight fluorescent (D 5700 - 7100K).

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Day white fluorescent (N 4600 - 5500K).

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Fine weather.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Flash.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Fluorescent.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is ISO studio tungsten.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is other.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Shade.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light A.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light B.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light C.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Tungsten (incandescent light).

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is unknown.

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is Warm white fluorescent (L 2600 - 3250K).

static Short

The constant used by TAG_LIGHT_SOURCE to denote light source is White fluorescent (WW 3250 - 3800K).

static String

The constant used by GPS longitude-related tags to denote the longitude is East longitude.

static String

The constant used by GPS longitude-related tags to denote the longitude is West longitude.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is Average.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is CenterWeightedAverage.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is MultiSpot.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is other.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is Partial.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is Pattern.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is Spot.

static Short

The constant used by TAG_METERING_MODE to denote metering mode is unknown.

static Int

Indicates the image is left right reversed mirror.

static Int

Indicates the image is upside down mirror, it can also be represented by flip horizontally firstly and rotate 180 degree clockwise.

static Int

static Int

Indicates the image is rotated by 180 degree clockwise.

static Int

Indicates the image is rotated by 270 degree clockwise.

static Int

Indicates the image is rotated by 90 degree clockwise.

static Int

Indicates the image is flipped about top-left <--> bottom-right axis, it can also be represented by flip horizontally firstly and rotate 270 degree clockwise.

static Int

Indicates the image is flipped about top-right <--> bottom-left axis, it can also be represented by flip horizontally firstly and rotate 90 degree clockwise.

static Int

static Int

The constant used by TAG_NEW_SUBFILE_TYPE.

static Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

static Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

static Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

static Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

static Int

The constant used by TAG_NEW_SUBFILE_TYPE.

static Short

The constant used by TAG_CUSTOM_RENDERED to denote special processing is used.

static Short

The constant used by TAG_CUSTOM_RENDERED to denote no special processing is used.

static Short

The constant used to denote resolution unit as centimeters.

static Short

The constant used to denote resolution unit as inches.

static Short

The constant used by TAG_SHARPNESS to denote high saturation.

static Short

The constant used by TAG_SATURATION to denote low saturation.

static Short

The constant used by TAG_SATURATION to denote normal saturation.

static Short

The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is Landscape.

static Short

The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is Night scene.

static Short

The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is Portrait.

static Short

The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is Standard.

static Short

The constant used by TAG_SCENE_TYPE to denote the scene is directly photographed.

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is ISO speed.

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended exposure index (REI).

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended exposure index (REI) and ISO speed.

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard output sensitivity (SOS).

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard output sensitivity (SOS) and ISO speed.

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard output sensitivity (SOS) and recommended exposure index (REI).

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard output sensitivity (SOS) and recommended exposure index (REI) and ISO speed.

static Short

The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is unknown.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is Color sequential area sensor.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is Color sequential linear sensor.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is not defined.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is One-chip color area sensor.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is Three-chip color area sensor.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is Trilinear sensor.

static Short

The constant used by TAG_SENSING_METHOD to denote the image sensor type is Two-chip color area sensor.

static Short

The constant used by TAG_SHARPNESS to denote hard sharpness.

static Short

The constant used by TAG_SHARPNESS to denote normal sharpness.

static Short

The constant used by TAG_SHARPNESS to denote soft sharpness.

static Int

Constant used to indicate that the input stream contains only Exif data.

static Int

Constant used to indicate that the input stream contains the full image data.

static Short

The constant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range is Close view.

static Short

The constant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range is Distant view.

static Short

The constant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range is Macro.

static Short

The constant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range is unknown.

static String

The lens aperture.

static String

This tag records the name of the camera owner, photographer or image creator.

static String

The number of bits per image component.

static String

This tag records the serial number of the body of the camera that was used in photography as an ASCII string.

static String

The value of brightness.

static String

This tag records the owner of a camera used in photography as an ASCII string.

static String

This tag records the owner of a camera used in photography as an ASCII string.

static String

Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used.

static String

The color space information tag is always recorded as the color space specifier.

static String

Information specific to compressed data.

static String

Information specific to compressed data.

static String

The compression scheme used for the image data.

static String

This tag indicates the direction of contrast processing applied by the camera when the image was shot.

static String

Copyright information.

static String

This tag indicates the use of special processing on image data, such as rendering geared to output.

static String

The date and time of image creation.

static String

The date and time when the image was stored as digital data.

static String

The date and time when the original image data was generated.

static String

Type is int.

static String

This tag indicates information on the picture-taking conditions of a particular camera model.

static String

This tag indicates the digital zoom ratio when the image was shot.

static String

Type is int.

static String

The version of this standard supported.

static String

The exposure bias.

static String

Indicates the exposure index selected on the camera or input device at the time the image is captured.

static String

This tag indicates the exposure mode set when the image was shot.

static String

TThe class of the program used by the camera to set exposure when the picture is taken.

static String

Exposure time, given in seconds.

static String

Indicates the image source.

static String

This tag indicates the status of flash when the image was shot.

static String

The Flashpix format version supported by a FPXR file.

static String

Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS).

static String

The actual focal length of the lens, in mm.

static String

This tag indicates the equivalent focal length assuming a 35mm film camera, in mm.

static String

Indicates the unit for measuring TAG_FOCAL_PLANE_X_RESOLUTION and TAG_FOCAL_PLANE_Y_RESOLUTION.

static String

Indicates the number of pixels in the image width (X) direction per TAG_FOCAL_PLANE_RESOLUTION_UNIT on the camera focal plane.

static String

Indicates the number of pixels in the image height (Y) direction per TAG_FOCAL_PLANE_RESOLUTION_UNIT on the camera focal plane.

static String

The F number.

static String

This tag indicates the degree of overall image gain adjustment.

static String

Indicates the value of coefficient gamma.

static String

Indicates the altitude based on the reference in TAG_GPS_ALTITUDE_REF.

static String

Indicates the altitude used as the reference altitude.

static String

A character string recording the name of the GPS area.

static String

A character string recording date and time information relative to UTC (Coordinated Universal Time).

static String

Indicates the bearing to the destination point.

static String

Indicates the reference used for giving the bearing to the destination point.

static String

Indicates the distance to the destination point.

static String

Indicates the unit used to express the distance to the destination point.

static String

Indicates the latitude of the destination point.

static String

Indicates whether the latitude of the destination point is north or south latitude.

static String

Indicates the longitude of the destination point.

static String