Google 致力于为黑人社区推动种族平等。查看具体举措

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