ExifInterface

open class ExifInterface
kotlin.Any
   ↳ androidx.exifinterface.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, RAF and HEIF.

Attribute mutation is supported for JPEG image files.

Summary

Constants

static Short

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

static Short

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

static Int

The contant used by TAG_COLOR_SPACE to denote sRGB color space.

static Int

The contant used by TAG_COLOR_SPACE to denote Uncalibrated.

static Short

The contant used by TAG_CONTRAST to denote hard contrast.

static Short

The contant used by TAG_CONTRAST to denote normal contrast.

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

The contant 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 contant used by TAG_PLANAR_CONFIGURATION to denote Chunky format.

static Short

The contant used by TAG_PLANAR_CONFIGURATION to denote Planar format.

static Short

The contant used by TAG_GAIN_CONTROL to denote high gain down.

static Short

The contant used by TAG_GAIN_CONTROL to denote high gain up.

static Short

The contant used by TAG_GAIN_CONTROL to denote low gain down.

static Short

The contant used by TAG_GAIN_CONTROL to denote low gain up.

static Short

The contant used by TAG_GAIN_CONTROL to denote none gain adjustment.

static String

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

static String

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

static String

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

static String

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

static String

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

static String

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

static String

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

static Short

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

static String

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

static String

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

static Short

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

static String

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

static String

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

static String

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

static String

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

static String

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static String

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

static String

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

The contant 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 contant used by TAG_CUSTOM_RENDERED to denote special processing is used.

static Short

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

static Short

The contant used to denote resolution unit as centimeters.

static Short

The contant used to denote resolution unit as inches.

static Short

The contant used by TAG_SHARPNESS to denote high saturation.

static Short

The contant used by TAG_SATURATION to denote low saturation.

static Short

The contant used by TAG_SATURATION to denote normal saturation.

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

The contant 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 contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is unknown.

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

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

static Short

The contant used by TAG_SHARPNESS to denote hard sharpness.

static Short

The contant used by TAG_SHARPNESS to denote normal sharpness.

static Short

The contant used by TAG_SHARPNESS to denote soft sharpness.

static Short

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

static Short

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

static Short

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

static Short

The contant 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

Indicates whether the longitude of the destination point is east or west longitude.

static String

Indicates whether differential correction is applied to the GPS receiver.

static String

Indicates the GPS DOP (data degree of precision).

static String

This tag indicates horizontal positioning errors in meters.

static String

ndicates the direction of the image when it was captured.

static String

Indicates the reference for giving the direction of the image when it is captured.

static String

Indicates the latitude.

static String

Indicates whether the latitude is north or south latitude.

static String

Indicates the longitude.

static String

Indicates whether the longitude is east or west longitude.

static String

Indicates the geodetic survey data used by the GPS receiver.

static String

Indicates the GPS measurement mode.

static String

A character string recording the name of the method used for location finding.

static String

Indicates the GPS satellites used for measurements.

static String

Indicates the speed of GPS receiver movement.

static String

Indicates the unit used to express the GPS receiver speed of movement.

static String

Indicates the status of the GPS receiver when the image is recorded.

static String

Indicates the time as UTC (Coordinated Universal Time).

static String

Indicates the direction of GPS receiver movement.

static String

Indicates the reference for giving the direction of GPS receiver movement.

static String

Indicates the version of GPS Info IFD.

static String

An ASCII string giving the title of the image.

static String

The number of rows of image data.

static String

This tag indicates an identifier assigned uniquely to each image.

static String

The number of columns of image data, equal to the number of pixels per row.

static String

Indicates the identification of the Interoperability rule.

static String

This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232.

static String

This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232.

static String

This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232.

static String

static String

The offset to the start byte (SOI) of JPEG compressed thumbnail data.

static String

The number of bytes of JPEG compressed thumbnail data.

static String

This tag records the lens manufacturer as an ASCII string.

static String

This tag records the lens’s model name and model number as an ASCII string.

static String

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

static String

This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography.

static String

The kind of light source.

static String

The manufacturer of the recording equipment.

static String

A tag for manufacturers of Exif/DCF writers to record any desired information.

static String

The smallest F number of the lens.

static String

The metering mode.

static String

The model name or model number of the equipment.

static String

Type is int.

static String

Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524.

static String

Type is int.

static String

Type is int.

static String

Type is int.

static String

Type is undefined.

static String

The image orientation viewed in terms of rows and columns.

static String

This tag indicates the sensitivity of the camera or input device when the image was shot.

static String

The pixel composition.

static String

Information specific to compressed data.

static String

Information specific to compressed data.

static String

Indicates whether pixel components are recorded in chunky or planar format.

static String

The chromaticity of the three primary colors of the image.

static String

This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232.

static String

The reference black point value and reference white point value.

static String

This tag is used to record the name of an audio file related to the image data.

static String

The unit for measuring TAG_X_RESOLUTION and TAG_Y_RESOLUTION.

static String

The number of rows per strip.

static String

Type is int.

static String

Type is undefined.

static String

Type is int.

static String

Type is int.

static String

Type is int.

static String

Type is int.

static String

The number of components per pixel.

static String

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

static String

This tag indicates the type of scene that was shot.

static String

Indicates the type of scene.

static String

Indicates the image sensor type on the camera or input device.

static String

This tag indicates which one of the parameters of ISO12232 is TAG_PHOTOGRAPHIC_SENSITIVITY.

static String

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

static String

Shutter speed.

static String

This tag records the name and version of the software or firmware of the camera or image input device used to generate the image.

static String

This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233.

static String

Indicates the spectral sensitivity of each channel of the camera used.

static String

This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232.

static String

The total number of bytes in each strip.

static String

For each strip, the byte offset of that strip.

static String

Type is int.

static String

This tag indicates the location and area of the main subject in the overall scene.

static String

The distance to the subject, given in meters.

static String

This tag indicates the distance to the subject.

static String

Indicates the location of the main subject in the scene.

static String

A tag used to record fractions of seconds for TAG_DATETIME.

static String

A tag used to record fractions of seconds for TAG_DATETIME_DIGITIZED.

static String

A tag used to record fractions of seconds for TAG_DATETIME_ORIGINAL.

static String

static String

static String

A transfer function for the image, described in tabular style.

static String

A tag for Exif users to write keywords or comments on the image besides those in TAG_IMAGE_DESCRIPTION, and without the character code limitations of it.

static String

This tag indicates the white balance mode set when the image was shot.

static String

The chromaticity of the white point of the image.

static String

Type is byte[].

static String

The number of pixels per TAG_RESOLUTION_UNIT in the TAG_IMAGE_WIDTH direction.

static String

The matrix coefficients for transformation from RGB to YCbCr image data.

static String

The position of chrominance components in relation to the luminance component.

static String

The sampling ratio of chrominance components in relation to the luminance component.

static String

The number of pixels per TAG_RESOLUTION_UNIT in the TAG_IMAGE_WIDTH direction.

static Int

The contant used by TAG_WHITE_BALANCE to denote the white balance is Auto.

static Int

The contant used by TAG_WHITE_BALANCE to denote the white balance is Manual.

static Short

The contant used by TAG_WHITE_BALANCE to denote the white balance is Auto.

static Short

The contant used by TAG_WHITE_BALANCE to denote the white balance is Manual.

static Short

The contant used by TAG_Y_CB_CR_POSITIONING to denote Centered positioning.

static Short

The contant used by TAG_Y_CB_CR_POSITIONING to denote Co-sited positioning.

Public constructors

<init>(@NonNull file: File)

Reads Exif tags from the specified image file.

<init>(@NonNull filename: String)

Reads Exif tags from the specified image file.

<init>(@NonNull fileDescriptor: FileDescriptor)

Reads Exif tags from the specified image file descriptor.

<init>(@NonNull inputStream: InputStream)

Reads Exif tags from the specified image input stream.

Public methods

open Unit

Flips the image horizontally.

open Unit

Flips the image vertically.

open Double
getAltitude(defaultValue: Double)

Return the altitude in meters.

open String?
getAttribute(@NonNull tag: String)

Returns the value of the specified tag or null if there is no such tag in the image file.

open ByteArray?
getAttributeBytes(@NonNull tag: String)

Returns the raw bytes for the value of the requested tag inside the image file, or null if the tag is not contained.

open Double
getAttributeDouble(@NonNull tag: String, defaultValue: Double)

Returns the double value of the tag that is specified as rational or contains a double-formatted value.

open Int
getAttributeInt(@NonNull tag: String, defaultValue: Int)

Returns the integer value of the specified tag.

open LongArray?
getAttributeRange(@NonNull tag: String)

Returns the offset and length of the requested tag inside the image file, or null if the tag is not contained.

open Boolean

Stores the latitude and longitude value in a float array.

open DoubleArray?

Gets the latitude and longitude values.

open Int

Returns the rotation degrees for the current image orientation.

open ByteArray?

Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail.

open Bitmap?

Creates and returns a Bitmap object of the thumbnail image based on the byte array and the thumbnail compression value, or null if the compression type is unsupported.

open ByteArray?

Returns the thumbnail bytes inside the image file, regardless of the compression type of the thumbnail image.

open LongArray?

Returns the offset and length of thumbnail inside the image file, or null if there is no thumbnail.

open Boolean
hasAttribute(@NonNull tag: String)

Returns true if the image file has the given attribute defined.

open Boolean

Returns true if the image file has a thumbnail.

open Boolean

Returns if the current image orientation is flipped.

open Boolean

Returns true if thumbnail image is JPEG Compressed, or false if either thumbnail image does not exist or thumbnail image is uncompressed.

open Unit

Resets the TAG_ORIENTATION of the image to be ORIENTATION_NORMAL.

open Unit
rotate(degree: Int)

Rotates the image by the given degree clockwise.

open Unit

Save the tag data into the original image file.

open Unit
setAltitude(altitude: Double)

Sets the altitude in meters.

open Unit
setAttribute(@NonNull tag: String, @Nullable value: String?)

Sets the value of the specified tag.

open Unit
setGpsInfo(location: Location!)

Sets the GPS-related information.

open Unit
setLatLong(latitude: Double, longitude: Double)

Sets the latitude and longitude values.

Properties

static IntArray!

The constant used by TAG_BITS_PER_SAMPLE.

static IntArray!

The constant used by TAG_BITS_PER_SAMPLE.

static IntArray!

The constant used by TAG_BITS_PER_SAMPLE.

Constants

ALTITUDE_ABOVE_SEA_LEVEL

static val ALTITUDE_ABOVE_SEA_LEVEL: Short

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

Value: 0

ALTITUDE_BELOW_SEA_LEVEL

static val ALTITUDE_BELOW_SEA_LEVEL: Short

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

Value: 1

COLOR_SPACE_S_RGB

static val COLOR_SPACE_S_RGB: Int

The contant used by TAG_COLOR_SPACE to denote sRGB color space.

Value: 1

COLOR_SPACE_UNCALIBRATED

static val COLOR_SPACE_UNCALIBRATED: Int

The contant used by TAG_COLOR_SPACE to denote Uncalibrated.

Value: 65535

CONTRAST_HARD

static val CONTRAST_HARD: Short

The contant used by TAG_CONTRAST to denote hard contrast.

Value: 2

CONTRAST_NORMAL

static val CONTRAST_NORMAL: Short

The contant used by TAG_CONTRAST to denote normal contrast.

Value: 0

CONTRAST_SOFT

static val CONTRAST_SOFT: Short

The contant used by TAG_CONTRAST to denote soft contrast.

Value: 1

DATA_DEFLATE_ZIP

static val DATA_DEFLATE_ZIP: Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0. Section 3, Compression

Value: 8

DATA_HUFFMAN_COMPRESSED

static val DATA_HUFFMAN_COMPRESSED: Int

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

Value: 2

DATA_JPEG

static val DATA_JPEG: Int

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

Value: 6

DATA_JPEG_COMPRESSED

static val DATA_JPEG_COMPRESSED: Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0. Section 3, Compression

Value: 7

DATA_LOSSY_JPEG

static val DATA_LOSSY_JPEG: Int

The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0. Section 3, Compression

Value: 34892

DATA_PACK_BITS_COMPRESSED

static val DATA_PACK_BITS_COMPRESSED: Int

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

Value: 32773

DATA_UNCOMPRESSED

static val DATA_UNCOMPRESSED: Int

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

Value: 1

EXPOSURE_MODE_AUTO

static val EXPOSURE_MODE_AUTO: Short

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

Value: 0

EXPOSURE_MODE_AUTO_BRACKET

static val EXPOSURE_MODE_AUTO_BRACKET: Short

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

Value: 2

EXPOSURE_MODE_MANUAL

static val EXPOSURE_MODE_MANUAL: Short

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

Value: 1

EXPOSURE_PROGRAM_ACTION

static val EXPOSURE_PROGRAM_ACTION: Short

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

Value: 6

EXPOSURE_PROGRAM_APERTURE_PRIORITY

static val EXPOSURE_PROGRAM_APERTURE_PRIORITY: Short

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

Value: 3

EXPOSURE_PROGRAM_CREATIVE

static val EXPOSURE_PROGRAM_CREATIVE: Short

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

Value: 5

EXPOSURE_PROGRAM_LANDSCAPE_MODE

static val EXPOSURE_PROGRAM_LANDSCAPE_MODE: Short

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

Value: 8

EXPOSURE_PROGRAM_MANUAL

static val EXPOSURE_PROGRAM_MANUAL: Short

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

Value: 1

EXPOSURE_PROGRAM_NORMAL

static val EXPOSURE_PROGRAM_NORMAL: Short

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

Value: 2

EXPOSURE_PROGRAM_NOT_DEFINED

static val EXPOSURE_PROGRAM_NOT_DEFINED: Short

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

Value: 0

EXPOSURE_PROGRAM_PORTRAIT_MODE

static val EXPOSURE_PROGRAM_PORTRAIT_MODE: Short

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

Value: 7

EXPOSURE_PROGRAM_SHUTTER_PRIORITY

static val EXPOSURE_PROGRAM_SHUTTER_PRIORITY: Short

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

Value: 4

FILE_SOURCE_DSC

static val FILE_SOURCE_DSC: Short

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

Value: 3

FILE_SOURCE_OTHER

static val FILE_SOURCE_OTHER: Short

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

Value: 0

FILE_SOURCE_REFLEX_SCANNER

static val FILE_SOURCE_REFLEX_SCANNER: Short

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

Value: 2

FILE_SOURCE_TRANSPARENT_SCANNER

static val FILE_SOURCE_TRANSPARENT_SCANNER: Short

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

Value: 1

FLAG_FLASH_FIRED

static val FLAG_FLASH_FIRED: Short

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

Value: 0b0000_0001

FLAG_FLASH_MODE_AUTO

static val FLAG_FLASH_MODE_AUTO: Short

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

Value: 0b0001_1000

FLAG_FLASH_MODE_COMPULSORY_FIRING

static val FLAG_FLASH_MODE_COMPULSORY_FIRING: Short

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

Value: 0b0000_1000

FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION

static val FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION: Short

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

Value: 0b0001_0000

FLAG_FLASH_NO_FLASH_FUNCTION

static val FLAG_FLASH_NO_FLASH_FUNCTION: Short

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

Value: 0b0010_0000

FLAG_FLASH_RED_EYE_SUPPORTED

static val FLAG_FLASH_RED_EYE_SUPPORTED: Short

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

Value: 0b0100_0000

FLAG_FLASH_RETURN_LIGHT_DETECTED

static val FLAG_FLASH_RETURN_LIGHT_DETECTED: Short

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

Value: 0b0000_0110

FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED

static val FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED: Short

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

Value: 0b0000_0100

FORMAT_CHUNKY

static val FORMAT_CHUNKY: Short

The contant used by TAG_PLANAR_CONFIGURATION to denote Chunky format.

Value: 1

FORMAT_PLANAR

static val FORMAT_PLANAR: Short

The contant used by TAG_PLANAR_CONFIGURATION to denote Planar format.

Value: 2

GAIN_CONTROL_HIGH_GAIN_DOWN

static val GAIN_CONTROL_HIGH_GAIN_DOWN: Short

The contant used by TAG_GAIN_CONTROL to denote high gain down.

Value: 4

GAIN_CONTROL_HIGH_GAIN_UP

static val GAIN_CONTROL_HIGH_GAIN_UP: Short

The contant used by TAG_GAIN_CONTROL to denote high gain up.

Value: 2

GAIN_CONTROL_LOW_GAIN_DOWN

static val GAIN_CONTROL_LOW_GAIN_DOWN: Short

The contant used by TAG_GAIN_CONTROL to denote low gain down.

Value: 3

GAIN_CONTROL_LOW_GAIN_UP

static val GAIN_CONTROL_LOW_GAIN_UP: Short

The contant used by TAG_GAIN_CONTROL to denote low gain up.

Value: 1

GAIN_CONTROL_NONE

static val GAIN_CONTROL_NONE: Short

The contant used by TAG_GAIN_CONTROL to denote none gain adjustment.

Value: 0

GPS_DIRECTION_MAGNETIC

static val GPS_DIRECTION_MAGNETIC: String

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

Value: "M"

GPS_DIRECTION_TRUE

static val GPS_DIRECTION_TRUE: String

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

Value: "T"

GPS_DISTANCE_KILOMETERS

static val GPS_DISTANCE_KILOMETERS: String

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

Value: "K"

GPS_DISTANCE_MILES

static val GPS_DISTANCE_MILES: String

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

Value: "M"

GPS_DISTANCE_NAUTICAL_MILES

static val GPS_DISTANCE_NAUTICAL_MILES: String

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

Value: "N"

GPS_MEASUREMENT_2D

static val GPS_MEASUREMENT_2D: String

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

Value: "2"

GPS_MEASUREMENT_3D

static val GPS_MEASUREMENT_3D: String

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

Value: "3"

GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED

static val GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED: Short

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

Value: 1

GPS_MEASUREMENT_INTERRUPTED

static val GPS_MEASUREMENT_INTERRUPTED: String

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

Value: "V"

GPS_MEASUREMENT_IN_PROGRESS

static val GPS_MEASUREMENT_IN_PROGRESS: String

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

Value: "A"

GPS_MEASUREMENT_NO_DIFFERENTIAL

static val GPS_MEASUREMENT_NO_DIFFERENTIAL: Short

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

Value: 0

GPS_SPEED_KILOMETERS_PER_HOUR

static val GPS_SPEED_KILOMETERS_PER_HOUR: String

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

Value: "K"

GPS_SPEED_KNOTS

static val GPS_SPEED_KNOTS: String

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

Value: "N"

GPS_SPEED_MILES_PER_HOUR

static val GPS_SPEED_MILES_PER_HOUR: String

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

Value: "M"

LATITUDE_NORTH

static val LATITUDE_NORTH: String

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

Value: "N"

LATITUDE_SOUTH

static val LATITUDE_SOUTH: String

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

Value: "S"

LIGHT_SOURCE_CLOUDY_WEATHER

static val LIGHT_SOURCE_CLOUDY_WEATHER: Short

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

Value: 10

LIGHT_SOURCE_COOL_WHITE_FLUORESCENT

static val LIGHT_SOURCE_COOL_WHITE_FLUORESCENT: Short

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

Value: 14

LIGHT_SOURCE_D50

static val LIGHT_SOURCE_D50: Short

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

Value: 23

LIGHT_SOURCE_D55

static val LIGHT_SOURCE_D55: Short

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

Value: 20

LIGHT_SOURCE_D65

static val LIGHT_SOURCE_D65: Short

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

Value: 21

LIGHT_SOURCE_D75

static val LIGHT_SOURCE_D75: Short

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

Value: 22

LIGHT_SOURCE_DAYLIGHT

static val LIGHT_SOURCE_DAYLIGHT: Short

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

Value: 1

LIGHT_SOURCE_DAYLIGHT_FLUORESCENT

static val LIGHT_SOURCE_DAYLIGHT_FLUORESCENT: Short

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

Value: 12

LIGHT_SOURCE_DAY_WHITE_FLUORESCENT

static val LIGHT_SOURCE_DAY_WHITE_FLUORESCENT: Short

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

Value: 13

LIGHT_SOURCE_FINE_WEATHER

static val LIGHT_SOURCE_FINE_WEATHER: Short

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

Value: 9

LIGHT_SOURCE_FLASH

static val LIGHT_SOURCE_FLASH: Short

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

Value: 4

LIGHT_SOURCE_FLUORESCENT

static val LIGHT_SOURCE_FLUORESCENT: Short

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

Value: 2

LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN

static val LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN: Short

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

Value: 24

LIGHT_SOURCE_OTHER

static val LIGHT_SOURCE_OTHER: Short

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

Value: 255

LIGHT_SOURCE_SHADE

static val LIGHT_SOURCE_SHADE: Short

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

Value: 11

LIGHT_SOURCE_STANDARD_LIGHT_A

static val LIGHT_SOURCE_STANDARD_LIGHT_A: Short

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

Value: 17

LIGHT_SOURCE_STANDARD_LIGHT_B

static val LIGHT_SOURCE_STANDARD_LIGHT_B: Short

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

Value: 18

LIGHT_SOURCE_STANDARD_LIGHT_C

static val LIGHT_SOURCE_STANDARD_LIGHT_C: Short

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

Value: 19

LIGHT_SOURCE_TUNGSTEN

static val LIGHT_SOURCE_TUNGSTEN: Short

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

Value: 3

LIGHT_SOURCE_UNKNOWN

static val LIGHT_SOURCE_UNKNOWN: Short

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

Value: 0

LIGHT_SOURCE_WARM_WHITE_FLUORESCENT

static val LIGHT_SOURCE_WARM_WHITE_FLUORESCENT: Short

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

Value: 16

LIGHT_SOURCE_WHITE_FLUORESCENT

static val LIGHT_SOURCE_WHITE_FLUORESCENT: Short

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

Value: 15

LONGITUDE_EAST

static val LONGITUDE_EAST: String

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

Value: "E"

LONGITUDE_WEST

static val LONGITUDE_WEST: String

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

Value: "W"

METERING_MODE_AVERAGE

static val METERING_MODE_AVERAGE: Short

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

Value: 1

METERING_MODE_CENTER_WEIGHT_AVERAGE

static val METERING_MODE_CENTER_WEIGHT_AVERAGE: Short

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

Value: 2

METERING_MODE_MULTI_SPOT

static val METERING_MODE_MULTI_SPOT: Short

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

Value: 4

METERING_MODE_OTHER

static val METERING_MODE_OTHER: Short

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

Value: 255

METERING_MODE_PARTIAL

static val METERING_MODE_PARTIAL: Short

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

Value: 6

METERING_MODE_PATTERN

static val METERING_MODE_PATTERN: Short

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

Value: 5

METERING_MODE_SPOT

static val METERING_MODE_SPOT: Short

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

Value: 3

METERING_MODE_UNKNOWN

static val METERING_MODE_UNKNOWN: Short

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

Value: 0

ORIENTATION_FLIP_HORIZONTAL

static val ORIENTATION_FLIP_HORIZONTAL: Int

Indicates the image is left right reversed mirror.

Value: 2

ORIENTATION_FLIP_VERTICAL

static val ORIENTATION_FLIP_VERTICAL: Int

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

Value: 4

ORIENTATION_NORMAL

static val ORIENTATION_NORMAL: Int
Value: 1

ORIENTATION_ROTATE_180

static val ORIENTATION_ROTATE_180: Int

Indicates the image is rotated by 180 degree clockwise.

Value: 3

ORIENTATION_ROTATE_270

static val ORIENTATION_ROTATE_270: Int

Indicates the image is rotated by 270 degree clockwise.

Value: 8

ORIENTATION_ROTATE_90

static val ORIENTATION_ROTATE_90: Int

Indicates the image is rotated by 90 degree clockwise.

Value: 6

ORIENTATION_TRANSPOSE

static val ORIENTATION_TRANSPOSE: 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.

Value: 5

ORIENTATION_TRANSVERSE

static val ORIENTATION_TRANSVERSE: 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.

Value: 7

ORIENTATION_UNDEFINED

static val ORIENTATION_UNDEFINED: Int
Value: 0

ORIGINAL_RESOLUTION_IMAGE

static val ORIGINAL_RESOLUTION_IMAGE: Int

The constant used by TAG_NEW_SUBFILE_TYPE. See JEITA CP-3451C Spec Section 8.

Value: 0

PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO

static val PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO: Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

Value: 1

PHOTOMETRIC_INTERPRETATION_RGB

static val PHOTOMETRIC_INTERPRETATION_RGB: Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

Value: 2

PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO

static val PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO: Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

Value: 0

PHOTOMETRIC_INTERPRETATION_YCBCR

static val PHOTOMETRIC_INTERPRETATION_YCBCR: Int

The constant used by TAG_PHOTOMETRIC_INTERPRETATION.

Value: 6

REDUCED_RESOLUTION_IMAGE

static val REDUCED_RESOLUTION_IMAGE: Int

The constant used by TAG_NEW_SUBFILE_TYPE. See JEITA CP-3451C Spec Section 8.

Value: 1

RENDERED_PROCESS_CUSTOM

static val RENDERED_PROCESS_CUSTOM: Short

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

Value: 1

RENDERED_PROCESS_NORMAL

static val RENDERED_PROCESS_NORMAL: Short

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

Value: 0

RESOLUTION_UNIT_CENTIMETERS

static val RESOLUTION_UNIT_CENTIMETERS: Short

The contant used to denote resolution unit as centimeters.

Value: 3

RESOLUTION_UNIT_INCHES

static val RESOLUTION_UNIT_INCHES: Short

The contant used to denote resolution unit as inches.

Value: 2

SATURATION_HIGH

static val SATURATION_HIGH: Short

The contant used by TAG_SHARPNESS to denote high saturation.

Value: 0

SATURATION_LOW

static val SATURATION_LOW: Short

The contant used by TAG_SATURATION to denote low saturation.

Value: 0

SATURATION_NORMAL

static val SATURATION_NORMAL: Short

The contant used by TAG_SATURATION to denote normal saturation.

Value: 0

SCENE_CAPTURE_TYPE_LANDSCAPE

static val SCENE_CAPTURE_TYPE_LANDSCAPE: Short

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

Value: 1

SCENE_CAPTURE_TYPE_NIGHT

static val SCENE_CAPTURE_TYPE_NIGHT: Short

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

Value: 3

SCENE_CAPTURE_TYPE_PORTRAIT

static val SCENE_CAPTURE_TYPE_PORTRAIT: Short

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

Value: 2

SCENE_CAPTURE_TYPE_STANDARD

static val SCENE_CAPTURE_TYPE_STANDARD: Short

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

Value: 0

SCENE_TYPE_DIRECTLY_PHOTOGRAPHED

static val SCENE_TYPE_DIRECTLY_PHOTOGRAPHED: Short

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

Value: 1

SENSITIVITY_TYPE_ISO_SPEED

static val SENSITIVITY_TYPE_ISO_SPEED: Short

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

Value: 3

SENSITIVITY_TYPE_REI

static val SENSITIVITY_TYPE_REI: Short

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

Value: 2

SENSITIVITY_TYPE_REI_AND_ISO

static val SENSITIVITY_TYPE_REI_AND_ISO: Short

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

Value: 6

SENSITIVITY_TYPE_SOS

static val SENSITIVITY_TYPE_SOS: Short

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

Value: 1

SENSITIVITY_TYPE_SOS_AND_ISO

static val SENSITIVITY_TYPE_SOS_AND_ISO: Short

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

Value: 5

SENSITIVITY_TYPE_SOS_AND_REI

static val SENSITIVITY_TYPE_SOS_AND_REI: Short

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

Value: 4

SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO

static val SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO: Short

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

Value: 7

SENSITIVITY_TYPE_UNKNOWN

static val SENSITIVITY_TYPE_UNKNOWN: Short

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

Value: 0

SENSOR_TYPE_COLOR_SEQUENTIAL

static val SENSOR_TYPE_COLOR_SEQUENTIAL: Short

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

Value: 5

SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR

static val SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR: Short

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

Value: 8

SENSOR_TYPE_NOT_DEFINED

static val SENSOR_TYPE_NOT_DEFINED: Short

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

Value: 1

SENSOR_TYPE_ONE_CHIP

static val SENSOR_TYPE_ONE_CHIP: Short

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

Value: 2

SENSOR_TYPE_THREE_CHIP

static val SENSOR_TYPE_THREE_CHIP: Short

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

Value: 4

SENSOR_TYPE_TRILINEAR

static val SENSOR_TYPE_TRILINEAR: Short

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

Value: 7

SENSOR_TYPE_TWO_CHIP

static val SENSOR_TYPE_TWO_CHIP: Short

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

Value: 3

SHARPNESS_HARD

static val SHARPNESS_HARD: Short

The contant used by TAG_SHARPNESS to denote hard sharpness.

Value: 2

SHARPNESS_NORMAL

static val SHARPNESS_NORMAL: Short

The contant used by TAG_SHARPNESS to denote normal sharpness.

Value: 0

SHARPNESS_SOFT

static val SHARPNESS_SOFT: Short

The contant used by TAG_SHARPNESS to denote soft sharpness.

Value: 1

SUBJECT_DISTANCE_RANGE_CLOSE_VIEW

static val SUBJECT_DISTANCE_RANGE_CLOSE_VIEW: Short

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

Value: 2

SUBJECT_DISTANCE_RANGE_DISTANT_VIEW

static val SUBJECT_DISTANCE_RANGE_DISTANT_VIEW: Short

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

Value: 3

SUBJECT_DISTANCE_RANGE_MACRO

static val SUBJECT_DISTANCE_RANGE_MACRO: Short

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

Value: 1

SUBJECT_DISTANCE_RANGE_UNKNOWN

static val SUBJECT_DISTANCE_RANGE_UNKNOWN: Short

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

Value: 0

TAG_APERTURE_VALUE

static val TAG_APERTURE_VALUE: String

The lens aperture. The unit is the APEX value.

  • Tag = 37378
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "ApertureValue"

TAG_ARTIST

static val TAG_ARTIST: String

This tag records the name of the camera owner, photographer or image creator. The detailed format is not specified, but it is recommended that the information be written as in the example below for ease of Interoperability. When the field is left blank, it is treated as unknown.

Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James"

  • Tag = 315
  • Type = String
  • Default = None
Value: "Artist"

TAG_BITS_PER_SAMPLE

static val TAG_BITS_PER_SAMPLE: String

The number of bits per image component. In this standard each component of the image is 8 bits, so the value for this tag is 8. See also TAG_SAMPLES_PER_PIXEL. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.

Value: "BitsPerSample"

TAG_BODY_SERIAL_NUMBER

static val TAG_BODY_SERIAL_NUMBER: String

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

  • Tag = 42033
  • Type = String
  • Default = None
Value: "BodySerialNumber"

TAG_BRIGHTNESS_VALUE

static val TAG_BRIGHTNESS_VALUE: String

The value of brightness. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99. Note that if the numerator of the recorded value is 0xFFFFFFFF, Unknown shall be indicated.

  • Tag = 37379
  • Type = Signed rational
  • Count = 1
  • Default = None
Value: "BrightnessValue"

TAG_CAMARA_OWNER_NAME

static val TAG_CAMARA_OWNER_NAME: String

Deprecated: Use TAG_CAMERA_OWNER_NAME instead.

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

  • Tag = 42032
  • Type = String
  • Default = None
Value: "CameraOwnerName"

TAG_CAMERA_OWNER_NAME

static val TAG_CAMERA_OWNER_NAME: String

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

  • Tag = 42032
  • Type = String
  • Default = None
Value: "CameraOwnerName"

TAG_CFA_PATTERN

static val TAG_CFA_PATTERN: String

Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods.

  • Tag = 41730
  • Type = Undefined
  • Default = None
Value: "CFAPattern"

TAG_COLOR_SPACE

static val TAG_COLOR_SPACE: String

The color space information tag is always recorded as the color space specifier. Normally COLOR_SPACE_S_RGB is used to define the color space based on the PC monitor conditions and environment. If a color space other than COLOR_SPACE_S_RGB is used, COLOR_SPACE_UNCALIBRATED is set. Image data recorded as COLOR_SPACE_UNCALIBRATED may be treated as COLOR_SPACE_S_RGB when it is converted to Flashpix.

  • Tag = 40961
  • Type = Unsigned short
  • Count = 1
Value: "ColorSpace"

TAG_COMPONENTS_CONFIGURATION

static val TAG_COMPONENTS_CONFIGURATION: String

Information specific to compressed data. The channels of each component are arranged in order from the 1st component to the 4th. For uncompressed data the data arrangement is given in the TAG_PHOTOMETRIC_INTERPRETATION. However, since TAG_PHOTOMETRIC_INTERPRETATION can only express the order of Y, Cb and Cr, this tag is provided for cases when compressed data uses components other than Y, Cb, and Cr and to enable support of other sequences.

  • Tag = 37121
  • Type = Undefined
  • Length = 4
  • Default = 4 5 6 0 (if RGB uncompressed) or 1 2 3 0 (other cases)
    • 0 = does not exist
    • 1 = Y
    • 2 = Cb
    • 3 = Cr
    • 4 = R
    • 5 = G
    • 6 = B
    • other = reserved
Value: "ComponentsConfiguration"

TAG_COMPRESSED_BITS_PER_PIXEL

static val TAG_COMPRESSED_BITS_PER_PIXEL: String

Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel.

  • Tag = 37122
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "CompressedBitsPerPixel"

TAG_COMPRESSION

static val TAG_COMPRESSION: String

The compression scheme used for the image data. When a primary image is JPEG compressed, this designation is not necessary. So, this tag shall not be recorded. When thumbnails use JPEG compression, this tag value is set to 6.

  • Tag = 259
  • Type = Unsigned short
  • Count = 1
  • Default = None
Value: "Compression"

TAG_CONTRAST

static val TAG_CONTRAST: String

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

Value: "Contrast"

TAG_COPYRIGHT

static val TAG_COPYRIGHT: String

Copyright information. In this standard the tag is used to indicate both the photographer and editor copyrights. It is the copyright notice of the person or organization claiming rights to the image. The Interoperability copyright statement including date and rights should be written in this field; e.g., "Copyright, John Smith, 19xx. All rights reserved." In this standard the field records both the photographer and editor copyrights, with each recorded in a separate part of the statement. When there is a clear distinction between the photographer and editor copyrights, these are to be written in the order of photographer followed by editor copyright, separated by NULL (in this case, since the statement also ends with a NULL, there are two NULL codes) (see example 1). When only the photographer copyright is given, it is terminated by one NULL code (see example 2). When only the editor copyright is given, the photographer copyright part consists of one space followed by a terminating NULL code, then the editor copyright is given (see example 3). When the field is left blank, it is treated as unknown.

Ex. 1) When both the photographer copyright and editor copyright are given.

  • Photographer copyright + NULL + editor copyright + NULL

Ex. 2) When only the photographer copyright is given.

  • Photographer copyright + NULL

Ex. 3) When only the editor copyright is given.

  • Space (0x20) + NULL + editor copyright + NULL

  • Tag = 315
  • Type = String
  • Default = None
Value: "Copyright"

TAG_CUSTOM_RENDERED

static val TAG_CUSTOM_RENDERED: String

This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the Exif/DCF reader is expected to disable or minimize any further processing.

Value: "CustomRendered"

TAG_DATETIME

static val TAG_DATETIME: String

The date and time of image creation. In this standard it is the date and time the file was changed. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character (0x20). When the date and time are unknown, all the character spaces except colons (":") should be filled with blank characters, or else the Interoperability field should be filled with blank characters. The character string length is 20 Bytes including NULL for termination. When the field is left blank, it is treated as unknown.

  • Tag = 306
  • Type = String
  • Length = 19
  • Default = None
Value: "DateTime"

TAG_DATETIME_DIGITIZED

static val TAG_DATETIME_DIGITIZED: String

The date and time when the image was stored as digital data. If, for example, an image was captured by DSC and at the same time the file was recorded, then TAG_DATETIME_ORIGINAL and this tag will have the same contents. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character (0x20). When the date and time are unknown, all the character spaces except colons (":")should be filled with blank characters, or else the Interoperability field should be filled with blank characters. When the field is left blank, it is treated as unknown.

  • Tag = 36868
  • Type = String
  • Length = 19
  • Default = None
Value: "DateTimeDigitized"

TAG_DATETIME_ORIGINAL

static val TAG_DATETIME_ORIGINAL: String

The date and time when the original image data was generated. For a DSC the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character (0x20). When the date and time are unknown, all the character spaces except colons (":") should be filled with blank characters, or else the Interoperability field should be filled with blank characters. When the field is left blank, it is treated as unknown.

  • Tag = 36867
  • Type = String
  • Length = 19
  • Default = None
Value: "DateTimeOriginal"

TAG_DEFAULT_CROP_SIZE

static val TAG_DEFAULT_CROP_SIZE: String

Type is int. DNG Specification 1.4.0.0. Section 4

Value: "DefaultCropSize"

TAG_DEVICE_SETTING_DESCRIPTION

static val TAG_DEVICE_SETTING_DESCRIPTION: String

This tag indicates information on the picture-taking conditions of a particular camera model. The tag is used only to indicate the picture-taking conditions in the Exif/DCF reader.

  • Tag = 41995
  • Type = Undefined
  • Default = None
Value: "DeviceSettingDescription"

TAG_DIGITAL_ZOOM_RATIO

static val TAG_DIGITAL_ZOOM_RATIO: String

This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used.

  • Tag = 41988
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "DigitalZoomRatio"

TAG_DNG_VERSION

static val TAG_DNG_VERSION: String

Type is int. DNG Specification 1.4.0.0. Section 4

Value: "DNGVersion"

TAG_EXIF_VERSION

static val TAG_EXIF_VERSION: String

The version of this standard supported. Nonexistence of this field is taken to mean nonconformance to the standard. In according with conformance to this standard, this tag shall be recorded like "0230” as 4-byte ASCII.

  • Tag = 36864
  • Type = Undefined
  • Length = 4
  • Default = "0230"
Value: "ExifVersion"

TAG_EXPOSURE_BIAS_VALUE

static val TAG_EXPOSURE_BIAS_VALUE: String

The exposure bias. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99.

  • Tag = 37380
  • Type = Signed rational
  • Count = 1
  • Default = None
Value: "ExposureBiasValue"

TAG_EXPOSURE_INDEX

static val TAG_EXPOSURE_INDEX: String

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

  • Tag = 41493
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "ExposureIndex"

TAG_EXPOSURE_MODE

static val TAG_EXPOSURE_MODE: String

This tag indicates the exposure mode set when the image was shot. In EXPOSURE_MODE_AUTO_BRACKET, the camera shoots a series of frames of the same scene at different exposure settings.

  • Tag = 41986
  • Type = Unsigned short
  • Count = 1
  • Default = None
Value: "ExposureMode"

TAG_EXPOSURE_PROGRAM

static val TAG_EXPOSURE_PROGRAM: String

TThe class of the program used by the camera to set exposure when the picture is taken. The tag values are as follows.

Value: "ExposureProgram"

TAG_EXPOSURE_TIME

static val TAG_EXPOSURE_TIME: String

Exposure time, given in seconds.

  • Tag = 33434
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "ExposureTime"

TAG_FILE_SOURCE

static val TAG_FILE_SOURCE: String

Indicates the image source. If a DSC recorded the image, this tag value always shall be set to FILE_SOURCE_DSC.

Value: "FileSource"

TAG_FLASH

static val TAG_FLASH: String

This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode.

  • Tag = 37385
  • Type = Unsigned short
  • Count = 1
Value: "Flash"

TAG_FLASHPIX_VERSION

static val TAG_FLASHPIX_VERSION: String

The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to TAG_EXIF_VERSION by recording "0100" as 4-byte ASCII.

  • Tag = 40960
  • Type = Undefined
  • Length = 4
  • Default = "0100"
Value: "FlashpixVersion"

TAG_FLASH_ENERGY

static val TAG_FLASH_ENERGY: String

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

  • Tag = 41483
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "FlashEnergy"

TAG_FOCAL_LENGTH

static val TAG_FOCAL_LENGTH: String

The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35mm film camera.

  • Tag = 37386
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "FocalLength"

TAG_FOCAL_LENGTH_IN_35MM_FILM

static val TAG_FOCAL_LENGTH_IN_35MM_FILM: String

This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from TAG_FOCAL_LENGTH.

  • Tag = 41989
  • Type = Unsigned short
  • Count = 1
  • Default = None
Value: "FocalLengthIn35mmFilm"

TAG_FOCAL_PLANE_RESOLUTION_UNIT

static val TAG_FOCAL_PLANE_RESOLUTION_UNIT: String

Indicates the unit for measuring TAG_FOCAL_PLANE_X_RESOLUTION and TAG_FOCAL_PLANE_Y_RESOLUTION. This value is the same as TAG_RESOLUTION_UNIT.

Value: "FocalPlaneResolutionUnit"

TAG_FOCAL_PLANE_X_RESOLUTION

static val TAG_FOCAL_PLANE_X_RESOLUTION: String

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

  • Tag = 41486
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "FocalPlaneXResolution"

TAG_FOCAL_PLANE_Y_RESOLUTION

static val TAG_FOCAL_PLANE_Y_RESOLUTION: String

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

  • Tag = 41487
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "FocalPlaneYResolution"

TAG_F_NUMBER

static val TAG_F_NUMBER: String

The F number.

  • Tag = 33437
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "FNumber"

TAG_GAIN_CONTROL

static val TAG_GAIN_CONTROL: String

This tag indicates the degree of overall image gain adjustment.

  • Tag = 41991
  • Type = Unsigned short
  • Count = 1
  • Default = None
Value: "GainControl"

TAG_GAMMA

static val TAG_GAMMA: String

Indicates the value of coefficient gamma. The formula of transfer function used for image reproduction is expressed as follows.

(Reproduced value) = (Input value) ^ gamma

Both reproduced value and input value indicate normalized value, whose minimum value is 0 and maximum value is 1.

  • Tag = 42240
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "Gamma"

TAG_GPS_ALTITUDE

static val TAG_GPS_ALTITUDE: String

Indicates the altitude based on the reference in TAG_GPS_ALTITUDE_REF. The reference unit is meters.

  • Tag = 6
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSAltitude"

TAG_GPS_ALTITUDE_REF

static val TAG_GPS_ALTITUDE_REF: String

Indicates the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in TAG_GPS_ALTITUDE.

  • Tag = 5
  • Type = Byte
  • Count = 1
  • Default = 0
Value: "GPSAltitudeRef"

TAG_GPS_AREA_INFORMATION

static val TAG_GPS_AREA_INFORMATION: String

A character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.

  • Tag = 28
  • Type = Undefined
  • Default = None
Value: "GPSAreaInformation"

TAG_GPS_DATESTAMP

static val TAG_GPS_DATESTAMP: String

A character string recording date and time information relative to UTC (Coordinated Universal Time). The format is "YYYY:MM:DD".

  • Tag = 29
  • Type = String
  • Length = 10
  • Default = None
Value: "GPSDateStamp"

TAG_GPS_DEST_BEARING

static val TAG_GPS_DEST_BEARING: String

Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99.

  • Tag = 24
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSDestBearing"

TAG_GPS_DEST_BEARING_REF

static val TAG_GPS_DEST_BEARING_REF: String

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

Value: "GPSDestBearingRef"

TAG_GPS_DEST_DISTANCE

static val TAG_GPS_DEST_DISTANCE: String

Indicates the distance to the destination point.

  • Tag = 26
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSDestDistance"

TAG_GPS_DEST_DISTANCE_REF

static val TAG_GPS_DEST_DISTANCE_REF: String

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

Value: "GPSDestDistanceRef"

TAG_GPS_DEST_LATITUDE

static val TAG_GPS_DEST_LATITUDE: String

Indicates the latitude of the destination point. The latitude is expressed as three unsigned rational values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1, mmmm/100, 0/1.

  • Tag = 20
  • Type = Unsigned rational
  • Count = 3
  • Default = None
Value: "GPSDestLatitude"

TAG_GPS_DEST_LATITUDE_REF

static val TAG_GPS_DEST_LATITUDE_REF: String

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

  • Tag = 19
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSDestLatitudeRef"

TAG_GPS_DEST_LONGITUDE

static val TAG_GPS_DEST_LONGITUDE: String

Indicates the longitude of the destination point. The longitude is expressed as three unsigned rational values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1, mm/1, ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1, mmmm/100, 0/1.

  • Tag = 22
  • Type = Unsigned rational
  • Count = 3
  • Default = None
Value: "GPSDestLongitude"

TAG_GPS_DEST_LONGITUDE_REF

static val TAG_GPS_DEST_LONGITUDE_REF: String

Indicates whether the longitude of the destination point is east or west longitude.

  • Tag = 21
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSDestLongitudeRef"

TAG_GPS_DIFFERENTIAL

static val TAG_GPS_DIFFERENTIAL: String

Indicates whether differential correction is applied to the GPS receiver.

  • Tag = 30
  • Type = Unsigned short
  • Count = 1
  • Default = None
Value: "GPSDifferential"

TAG_GPS_DOP

static val TAG_GPS_DOP: String

Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.

  • Tag = 11
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSDOP"

TAG_GPS_H_POSITIONING_ERROR

static val TAG_GPS_H_POSITIONING_ERROR: String

This tag indicates horizontal positioning errors in meters.

  • Tag = 31
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSHPositioningError"

TAG_GPS_IMG_DIRECTION

static val TAG_GPS_IMG_DIRECTION: String

ndicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99.

  • Tag = 17
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSImgDirection"

TAG_GPS_IMG_DIRECTION_REF

static val TAG_GPS_IMG_DIRECTION_REF: String

Indicates the reference for giving the direction of the image when it is captured.

Value: "GPSImgDirectionRef"

TAG_GPS_LATITUDE

static val TAG_GPS_LATITUDE: String

Indicates the latitude. The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1.

  • Tag = 2
  • Type = Unsigned rational
  • Count = 3
  • Default = None
Value: "GPSLatitude"

TAG_GPS_LATITUDE_REF

static val TAG_GPS_LATITUDE_REF: String

Indicates whether the latitude is north or south latitude.

  • Tag = 1
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSLatitudeRef"

TAG_GPS_LONGITUDE

static val TAG_GPS_LONGITUDE: String

Indicates the longitude. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1.

  • Tag = 4
  • Type = Unsigned rational
  • Count = 3
  • Default = None
Value: "GPSLongitude"

TAG_GPS_LONGITUDE_REF

static val TAG_GPS_LONGITUDE_REF: String

Indicates whether the longitude is east or west longitude.

  • Tag = 3
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSLongitudeRef"

TAG_GPS_MAP_DATUM

static val TAG_GPS_MAP_DATUM: String

Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to Japan,the value of this tag is 'TOKYO' or 'WGS-84'. If a GPS Info tag is recorded, it is strongly recommended that this tag be recorded.

  • Tag = 18
  • Type = String
  • Default = None
Value: "GPSMapDatum"

TAG_GPS_MEASURE_MODE

static val TAG_GPS_MEASURE_MODE: String

Indicates the GPS measurement mode. Originally it was defined for GPS, but it may be used for recording a measure mode to record the position information provided from a mobile base station or wireless LAN as well as GPS.

  • Tag = 10
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSMeasureMode"

TAG_GPS_PROCESSING_METHOD

static val TAG_GPS_PROCESSING_METHOD: String

A character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.

  • Tag = 27
  • Type = Undefined
  • Default = None
Value: "GPSProcessingMethod"

TAG_GPS_SATELLITES

static val TAG_GPS_SATELLITES: String

Indicates the GPS satellites used for measurements. This tag may be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to null.

  • Tag = 8
  • Type = String
  • Default = None
Value: "GPSSatellites"

TAG_GPS_SPEED

static val TAG_GPS_SPEED: String

Indicates the speed of GPS receiver movement.

  • Tag = 13
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSSpeed"

TAG_GPS_SPEED_REF

static val TAG_GPS_SPEED_REF: String

Indicates the unit used to express the GPS receiver speed of movement.

Value: "GPSSpeedRef"

TAG_GPS_STATUS

static val TAG_GPS_STATUS: String

Indicates the status of the GPS receiver when the image is recorded. 'A' means measurement is in progress, and 'V' means the measurement is interrupted.

  • Tag = 9
  • Type = String
  • Length = 1
  • Default = None
Value: "GPSStatus"

TAG_GPS_TIMESTAMP

static val TAG_GPS_TIMESTAMP: String

Indicates the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three unsigned rational values giving the hour, minute, and second.

  • Tag = 7
  • Type = Unsigned rational
  • Count = 3
  • Default = None
Value: "GPSTimeStamp"

TAG_GPS_TRACK

static val TAG_GPS_TRACK: String

Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99.

  • Tag = 15
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "GPSTrack"

TAG_GPS_TRACK_REF

static val TAG_GPS_TRACK_REF: String

Indicates the reference for giving the direction of GPS receiver movement.

Value: "GPSTrackRef"

TAG_GPS_VERSION_ID

static val TAG_GPS_VERSION_ID: String

Indicates the version of GPS Info IFD. The version is given as 2.3.0.0. This tag is mandatory when GPS-related tags are present. Note that this tag is written as a different byte than TAG_EXIF_VERSION.

  • Tag = 0
  • Type = Byte
  • Count = 4
  • Default = 2.3.0.0
    • 2300 = Version 2.3
    • Other = reserved
Value: "GPSVersionID"

TAG_IMAGE_DESCRIPTION

static val TAG_IMAGE_DESCRIPTION: String

An ASCII string giving the title of the image. It is possible to be added a comment such as "1988 company picnic" or the like. Two-byte character codes cannot be used. When a 2-byte code is necessary, TAG_USER_COMMENT is to be used.

  • Tag = 270
  • Type = String
  • Default = None
Value: "ImageDescription"

TAG_IMAGE_LENGTH

static val TAG_IMAGE_LENGTH: String

The number of rows of image data. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.

  • Tag = 257
  • Type = Unsigned short or Unsigned long
  • Count = 1
  • Default = None
Value: "ImageLength"

TAG_IMAGE_UNIQUE_ID

static val TAG_IMAGE_UNIQUE_ID: String

This tag indicates an identifier assigned uniquely to each image. It is recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length.

  • Tag = 42016
  • Type = String
  • Length = 32
  • Default = None
Value: "ImageUniqueID"

TAG_IMAGE_WIDTH

static val TAG_IMAGE_WIDTH: String

The number of columns of image data, equal to the number of pixels per row. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.

  • Tag = 256
  • Type = Unsigned short or Unsigned long
  • Count = 1
  • Default = None
Value: "ImageWidth"

TAG_INTEROPERABILITY_INDEX

static val TAG_INTEROPERABILITY_INDEX: String

Indicates the identification of the Interoperability rule.

  • Tag = 1
  • Type = String
  • Length = 4
  • Default = None
    • "R98" = Indicates a file conforming to R98 file specification of Recommended Exif Interoperability Rules (Exif R 98) or to DCF basic file stipulated by Design Rule for Camera File System.
    • "THM" = Indicates a file conforming to DCF thumbnail file stipulated by Design rule for Camera File System.
    • “R03” = Indicates a file conforming to DCF Option File stipulated by Design rule for Camera File System.
Value: "InteroperabilityIndex"

TAG_ISO_SPEED

static val TAG_ISO_SPEED: String

This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, TAG_PHOTOGRAPHIC_SENSITIVITY and TAG_SENSITIVITY_TYPE shall also be recorded.

  • Tag = 34867
  • Type = Unsigned long
  • Count = 1
  • Default = None
Value: "ISOSpeed"

TAG_ISO_SPEED_LATITUDE_YYY

static val TAG_ISO_SPEED_LATITUDE_YYY: String

This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. However, this tag shall not be recorded without TAG_ISO_SPEED and TAG_ISO_SPEED_LATITUDE_ZZZ.

  • Tag = 34868
  • Type = Unsigned long
  • Count = 1
  • Default = None
Value: "ISOSpeedLatitudeyyy"

TAG_ISO_SPEED_LATITUDE_ZZZ

static val TAG_ISO_SPEED_LATITUDE_ZZZ: String

This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. However, this tag shall not be recorded without TAG_ISO_SPEED and TAG_ISO_SPEED_LATITUDE_YYY.

  • Tag = 34869
  • Type = Unsigned long
  • Count = 1
  • Default = None
Value: "ISOSpeedLatitudezzz"

TAG_ISO_SPEED_RATINGS

static val TAG_ISO_SPEED_RATINGS: String

Deprecated: Use TAG_PHOTOGRAPHIC_SENSITIVITY instead.

Value: "ISOSpeedRatings"

TAG_JPEG_INTERCHANGE_FORMAT

static val TAG_JPEG_INTERCHANGE_FORMAT: String

The offset to the start byte (SOI) of JPEG compressed thumbnail data. This shall not be used for primary image JPEG data.

  • Tag = 513
  • Type = Unsigned long
  • Default = None
Value: "JPEGInterchangeFormat"

TAG_JPEG_INTERCHANGE_FORMAT_LENGTH

static val TAG_JPEG_INTERCHANGE_FORMAT_LENGTH: String

The number of bytes of JPEG compressed thumbnail data. This is not used for primary image JPEG data. JPEG thumbnails are not divided but are recorded as a continuous JPEG bitstream from SOI to EOI. APPn and COM markers should not be recorded. Compressed thumbnails shall be recorded in no more than 64 KBytes, including all other data to be recorded in APP1.

  • Tag = 514
  • Type = Unsigned long
  • Default = None
Value: "JPEGInterchangeFormatLength"

TAG_LENS_MAKE

static val TAG_LENS_MAKE: String

This tag records the lens manufacturer as an ASCII string.

  • Tag = 42035
  • Type = String
  • Default = None
Value: "LensMake"

TAG_LENS_MODEL

static val TAG_LENS_MODEL: String

This tag records the lens’s model name and model number as an ASCII string.

  • Tag = 42036
  • Type = String
  • Default = None
Value: "LensModel"

TAG_LENS_SERIAL_NUMBER

static val TAG_LENS_SERIAL_NUMBER: String

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

  • Tag = 42037
  • Type = String
  • Default = None
Value: "LensSerialNumber"

TAG_LENS_SPECIFICATION

static val TAG_LENS_SPECIFICATION: String

This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. When the minimum F number is unknown, the notation is 0/0.

  • Tag = 42034
  • Type = Unsigned rational
  • Count = 4
  • Default = None
    • Value 1 := Minimum focal length (unit: mm)
    • Value 2 : = Maximum focal length (unit: mm)
    • Value 3 : = Minimum F number in the minimum focal length
    • Value 4 : = Minimum F number in the maximum focal length
Value: "LensSpecification"

TAG_MAKE

static val TAG_MAKE: String

The manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.

  • Tag = 271
  • Type = String
  • Default = None
Value: "Make"

TAG_MAKER_NOTE

static val TAG_MAKER_NOTE: String

A tag for manufacturers of Exif/DCF writers to record any desired information. The contents are up to the manufacturer, but this tag shall not be used for any other than its intended purpose.

  • Tag = 37500
  • Type = Undefined
  • Default = None
Value: "MakerNote"

TAG_MAX_APERTURE_VALUE

static val TAG_MAX_APERTURE_VALUE: String

The smallest F number of the lens. The unit is the APEX value. Ordinarily it is given in the range of 00.00 to 99.99, but it is not limited to this range.

  • Tag = 37381
  • Type = Unsigned rational
  • Count = 1
  • Default = None
Value: "MaxApertureValue"

TAG_METERING_MODE

static val TAG_METERING_MODE: String

The metering mode.

Value: "MeteringMode"

TAG_MODEL

static val TAG_MODEL: String

The model name or model number of the equipment. This is the model name of number of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.

  • Tag = 272
  • Type = String
  • Default = None
Value: "Model"

TAG_NEW_SUBFILE_TYPE

static val TAG_NEW_SUBFILE_TYPE: String

Type is int. See JEITA CP-3451C Spec Section 3: Bilevel Images.

Value: "NewSubfileType"

TAG_OECF

static val TAG_OECF: String

Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values.

  • Tag = 34856
  • Type = Undefined
  • Default = None
Value: "OECF"

TAG_ORF_ASPECT_FRAME

static val TAG_ORF_ASPECT_FRAME: String

Type is int. See Olympus Image Processing tags in http://www.exiv2.org/tags-olympus.html.

Value: "AspectFrame"

TAG_ORF_PREVIEW_IMAGE_LENGTH

static val TAG_ORF_PREVIEW_IMAGE_LENGTH: String

Type is int. See Olympus Camera Settings tags in http://www.exiv2.org/tags-olympus.html.

Value: "PreviewImageLength"

TAG_ORF_PREVIEW_IMAGE_START

static val TAG_ORF_PREVIEW_IMAGE_START: String

Type is int. See Olympus Camera Settings tags in http://www.exiv2.org/tags-olympus.html.

Value: "PreviewImageStart"

TAG_ORF_THUMBNAIL_IMAGE

static val TAG_ORF_THUMBNAIL_IMAGE: String

Type is undefined. See Olympus MakerNote tags in http://www.exiv2.org/tags-olympus.html.

Value: "ThumbnailImage"

TAG_ORIENTATION

static val TAG_ORIENTATION: String

The image orientation viewed in terms of rows and columns.

Value: "Orientation"

TAG_PHOTOGRAPHIC_SENSITIVITY

static val TAG_PHOTOGRAPHIC_SENSITIVITY: String

This tag indicates the sensitivity of the camera or input device when the image was shot. More specifically, it indicates one of the following values that are parameters defined in ISO 12232: standard output sensitivity (SOS), recommended exposure index (REI), or ISO speed. Accordingly, if a tag corresponding to a parameter that is designated by TAG_SENSITIVITY_TYPE is recorded, the values of the tag and of this tag are the same. However, if the value is 65535 or higher, the value of this tag shall be 65535. When recording this tag, TAG_SENSITIVITY_TYPE should also be recorded. In addition, while “Count = Any”, only 1 count should be used when recording this tag.

  • Tag = 34855
  • Type = Unsigned short
  • Count = Any
  • Default = None
Value: "PhotographicSensitivity"

TAG_PHOTOMETRIC_INTERPRETATION

static val TAG_PHOTOMETRIC_INTERPRETATION: String

The pixel composition. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.

  • Tag = 262
  • Type = SHORT
  • Count = 1
  • Default = None
Value: "PhotometricInterpretation"

TAG_PIXEL_X_DIMENSION

static val TAG_PIXEL_X_DIMENSION: String

Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file.

  • Tag = 40962
  • Type = Unsigned short or Unsigned long
  • Count = 1
  • Default = None
Value: "PixelXDimension"

TAG_PIXEL_Y_DIMENSION

static val TAG_PIXEL_Y_DIMENSION: String

Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file. Since data padding is unnecessary in the vertical direction, the number of lines recorded in this valid image height tag will in fact be the same as that recorded in the SOF.

  • Tag = 40963
  • Type = Unsigned short or Unsigned long
  • Count = 1
Value: "PixelYDimension"

TAG_PLANAR_CONFIGURATION

static val TAG_PLANAR_CONFIGURATION: String

Indicates whether pixel components are recorded in chunky or planar format. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it. If this field does not exist, the TIFF default, FORMAT_CHUNKY, is assumed.

  • Tag = 284
  • Type = Unsigned short
  • Count = 1
Value: "PlanarConfiguration"

TAG_PRIMARY_CHROMATICITIES

static val TAG_PRIMARY_CHROMATICITIES: String

The chromaticity of the three primary colors of the image. Normally this tag need not be used, since color space is specified in TAG_COLOR_SPACE.

  • Tag = 319
  • Type = Unsigned rational
  • Count = 6
  • Default = None
Value: "PrimaryChromaticities"

TAG_RECOMMENDED_EXPOSURE_INDEX

static val TAG_RECOMMENDED_EXPOSURE_INDEX: String

This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag,