TAG

enum TAG

Constructors

TAG
Link copied to clipboard
open fun TAG(id: Int)

Entries

IMAGE_WIDTH
Link copied to clipboard

Tag constants for Jeita EXIF 2.2

IMAGE_LENGTH
Link copied to clipboard
BITS_PER_SAMPLE
Link copied to clipboard
COMPRESSION
Link copied to clipboard

Value is unsigned int. (Read only tag) The compression scheme used for the image data. When a primary image is JPEG compressed, this designation is not necessary and is omitted. When thumbnails use JPEG compression, this tag value is set to 6.

  • 1 = uncompressed
  • 6 = JPEG compression (thumbnails only)
  • Other = reserved

PHOTOMETRIC_INTERPRETATION
Link copied to clipboard
IMAGE_DESCRIPTION
Link copied to clipboard
MAKE
Link copied to clipboard

Value is ascii 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.

MODEL
Link copied to clipboard

Value is ascii 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.

STRIP_OFFSETS
Link copied to clipboard
ORIENTATION
Link copied to clipboard

Value is int The orientation of the camera relative to the scene, when the image was captured. The start point of stored data is:

  • '0' undefined
  • '1' normal
  • '2' flip horizontal
  • '3' rotate 180
  • '4' flip vertical
  • '5' transpose, flipped about top-left <--> bottom-right axis
  • '6' rotate 90 cw
  • '7' transverse, flipped about top-right <--> bottom-left axis
  • '8' rotate 270
  • '9' undefined

SAMPLES_PER_PIXEL
Link copied to clipboard
ROWS_PER_STRIP
Link copied to clipboard
STRIP_BYTE_COUNTS
Link copied to clipboard
INTEROP_VERSION
Link copied to clipboard
X_RESOLUTION
Link copied to clipboard

Value is unsigned double. Display/Print resolution of image. Large number of digicam uses 1/72inch, but it has no mean because personal computer doesn't use this value to display/print out.

Y_RESOLUTION
Link copied to clipboard
X_RESOLUTION
PLANAR_CONFIGURATION
Link copied to clipboard
RESOLUTION_UNIT
Link copied to clipboard

Value is unsigned int. Unit of XResolution(0x011a)/YResolution(0x011b)

  • '1' means no-unit ( use inch )
  • '2' inch
  • '3' centimeter
  • '4' millimeter
  • '5' micrometer

TRANSFER_FUNCTION
Link copied to clipboard
SOFTWARE
Link copied to clipboard

Value is ascii string Shows firmware(internal software of digicam) version number.

DATE_TIME
Link copied to clipboard

Value is ascii string (20) Date/Time of image was last modified. Data format is "YYYY:MM:DD HH:MM:SS"+0x00, total 20bytes. In usual, it has the same value of DateTimeOriginal(0x9003)

ARTIST
Link copied to clipboard

Vallue is ascii 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.

WHITE_POINT
Link copied to clipboard
PRIMARY_CHROMATICITIES
Link copied to clipboard
Y_CB_CR_COEFFICIENTS
Link copied to clipboard
Y_CB_CR_SUB_SAMPLING
Link copied to clipboard
Y_CB_CR_POSITIONING
Link copied to clipboard
REFERENCE_BLACK_WHITE
Link copied to clipboard
COPYRIGHT
Link copied to clipboard

Values is ascii string Shows copyright information

EXIF_IFD
Link copied to clipboard
GPS_IFD
Link copied to clipboard
JPEG_INTERCHANGE_FORMAT
Link copied to clipboard
JPEG_INTERCHANGE_FORMAT_LENGTH
Link copied to clipboard
EXPOSURE_TIME
Link copied to clipboard

Value is unsigned double Exposure time (reciprocal of shutter speed). Unit is second

F_NUMBER
Link copied to clipboard

Value is unsigned double The actual F-number(F-stop) of lens when the image was taken

EXPOSURE_PROGRAM
Link copied to clipboard

Value is unsigned int. Exposure program that the camera used when image was taken.

  • '1' means manual control
  • '2' program normal
  • '3' aperture priority
  • '4' shutter priority
  • '5' program creative (slow program)
  • '6' program action(high-speed program)
  • '7' portrait mode
  • '8' landscape mode.

SPECTRAL_SENSITIVITY
Link copied to clipboard
ISO_SPEED_RATINGS
Link copied to clipboard

Value is unsigned int. CCD sensitivity equivalent to Ag-Hr film speedrate. Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232

OECF
Link copied to clipboard
EXIF_VERSION
Link copied to clipboard

ASCII string (4). The version of this standard supported. Nonexistence of this field is taken to mean nonconformance to the standard (see section 4.2). Conformance to this standard is indicated by recording "0220" as 4-byte ASCII

DATE_TIME_ORIGINAL
Link copied to clipboard

Value is ascii string (20) Date/Time of original image taken. This value should not be modified by user program.

DATE_TIME_DIGITIZED
Link copied to clipboard

Value is ascii string (20) Date/Time of image digitized. Usually, it contains the same value of DateTimeOriginal(0x9003).

COMPONENTS_CONFIGURATION
Link copied to clipboard
COMPRESSED_BITS_PER_PIXEL
Link copied to clipboard
SHUTTER_SPEED_VALUE
Link copied to clipboard

Value is signed double. Shutter speed. To convert this value to ordinary 'Shutter Speed'; calculate this value's power of 2, then reciprocal. For example, if value is '4', shutter speed is 1/(2^4)=1/16 second.

APERTURE_VALUE
Link copied to clipboard

Value is unsigned double The actual aperture value of lens when the image was taken. To convert this value to ordinary F-number(F-stop), calculate this value's power of root 2 (=1.4142). For example, if value is '5', F-number is 1.4142^5 = F5.6

FNumber = Math.exp( ApertureValue * Math.log( 2 ) * 0.5 );

BRIGHTNESS_VALUE
Link copied to clipboard

Value is signed double Brightness of taken subject, unit is EV.

EXPOSURE_BIAS_VALUE
Link copied to clipboard

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

MAX_APERTURE_VALUE
Link copied to clipboard

Value is unsigned double. Maximum aperture value of lens. You can convert to F-number by calculating power of root 2 (same process of ApertureValue(0x9202).

FNumber = Math.exp( MaxApertureValue * Math.log( 2 ) * 0.5 )

SUBJECT_DISTANCE
Link copied to clipboard

Value if signed double. Distance to focus point, unit is meter. If value < 0 then focus point is infinite

METERING_MODE
Link copied to clipboard

Value is unsigned int. Exposure metering method:

  • 0 = unknown
  • 1 = Average
  • 2 = CenterWeightedAverage
  • 3 = Spot
  • 4 = MultiSpot
  • 5 = Pattern
  • 6 = Partial
  • Other = reserved
  • 255 = other

LIGHT_SOURCE
Link copied to clipboard

Value is unsigned int. Light sourceType, actually this means white balance setting.

  • 0 = means auto
  • 1 = Daylight
  • 2 = Fluorescent
  • 3 = Tungsten (incandescent light)
  • 4 = Flash
  • 9 = Fine weather
  • 10 = Cloudy weather
  • 11 = Shade
  • 12 = Daylight fluorescent (D 5700 - 7100K)
  • 13 = Day white fluorescent (N 4600 - 5400K)
  • 14 = Cool white fluorescent (W 3900 - 4500K)
  • 15 = White fluorescent (WW 3200 - 3700K)
  • 17 = Standard light A
  • 18 = Standard light B
  • 19 = Standard light C
  • 20 = D55
  • 21 = D65
  • 22 = D75
  • 23 = D50
  • 24 = ISO studio tungsten
  • 255 = other light sourceType
  • Other = reserved

FLASH
Link copied to clipboard

Value is unsigned integer The 8 bits can be extracted and evaluated in this way:

  1. Bit 0 indicates the flash firing status
  2. bits 1 and 2 indicate the flash return status
  3. bits 3 and 4 indicate the flash mode
  4. bit 5 indicates whether the flash function is present
  5. and bit 6 indicates "red eye" mode
  6. bit 7 unused
Resulting Flash tag values are:
  • 0000.H = Flash did not fire
  • 0001.H = Flash fired
  • 0005.H = Strobe return light not detected
  • 0007.H = Strobe return light detected
  • 0009.H = Flash fired, compulsory flash mode
  • 000D.H = Flash fired, compulsory flash mode, return light not detected
  • 000F.H = Flash fired, compulsory flash mode, return light detected
  • 0010.H = Flash did not fire, compulsory flash mode
  • 0018.H = Flash did not fire, auto mode
  • 0019.H = Flash fired, auto mode
  • 001D.H = Flash fired, auto mode, return light not detected
  • 001F.H = Flash fired, auto mode, return light detected
  • 0020.H = No flash function
  • 0041.H = Flash fired, red-eye reduction mode
  • 0045.H = Flash fired, red-eye reduction mode, return light not detected
  • 0047.H = Flash fired, red-eye reduction mode, return light detected
  • 0049.H = Flash fired, compulsory flash mode, red-eye reduction mode
  • 004D.H = Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected
  • 004F.H = Flash fired, compulsory flash mode, red-eye reduction mode, return light detected
  • 0059.H = Flash fired, auto mode, red-eye reduction mode
  • 005D.H = Flash fired, auto mode, return light not detected, red-eye reduction mode
  • 005F.H = Flash fired, auto mode, return light detected, red-eye reduction mode
  • Other = reserved

FOCAL_LENGTH
Link copied to clipboard

Value is unsigned double Focal length of lens used to take image. Unit is millimeter.

SUBJECT_AREA
Link copied to clipboard
MAKER_NOTE
Link copied to clipboard
USER_COMMENT
Link copied to clipboard
SUB_SEC_TIME
Link copied to clipboard
SUB_SEC_TIME_ORIGINAL
Link copied to clipboard
SUB_SEC_TIME_DIGITIZED
Link copied to clipboard
FLASHPIX_VERSION
Link copied to clipboard
COLOR_SPACE
Link copied to clipboard

Value is int. Normally sRGB (=1) is used to define the color space based on the PC monitor conditions and environment. If a color space other than sRGB is used, Uncalibrated (=FFFF.H) is set. Image data recorded as Uncalibrated can be treated as sRGB when it is converted to Flashpix. On sRGB see Annex E.

  • '1' = sRGB
  • 'FFFF' = Uncalibrated
  • 'other' = Reserved

PIXEL_X_DIMENSION
Link copied to clipboard

Value is unsigned int. Specific to compressed data; the valid width of the meaningful image. 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 should not exist in an uncompressed file.

PIXEL_Y_DIMENSION
Link copied to clipboard
PIXEL_X_DIMENSION
RELATED_SOUND_FILE
Link copied to clipboard
INTEROPERABILITY_IFD
Link copied to clipboard
FLASH_ENERGY
Link copied to clipboard
SPATIAL_FREQUENCY_RESPONSE
Link copied to clipboard
FOCAL_PLANE_X_RESOLUTION
Link copied to clipboard

Value is unsigned double. Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. CCD's pixel density

FOCAL_PLANE_Y_RESOLUTION
Link copied to clipboard
FOCAL_PLANE_X_RESOLUTION
FOCAL_PLANE_RESOLUTION_UNIT
Link copied to clipboard

Value is unsigned int. Unit of FocalPlaneXResoluton/FocalPlaneYResolution.

  • '1' means no-unit
  • '2' inch
  • '3' centimeter
  • '4' millimeter
  • '5' micrometer
This tag can be used to calculate the CCD Width:
CCDWidth = ( PixelXDimension * FocalPlaneResolutionUnit / FocalPlaneXResolution )

SUBJECT_LOCATION
Link copied to clipboard
EXPOSURE_INDEX
Link copied to clipboard
SENSING_METHOD
Link copied to clipboard

Value is unsigned int. Indicates the image sensor type on the camera or input device. The values are as follows:

  • 1 = Not defined
  • 2 = One-chip color area sensor
  • 3 = Two-chip color area sensor JEITA CP-3451 - 41
  • 4 = Three-chip color area sensor
  • 5 = Color sequential area sensor
  • 7 = Trilinear sensor
  • 8 = Color sequential linear sensor
  • Other = reserved

FILE_SOURCE
Link copied to clipboard
SCENE_TYPE
Link copied to clipboard
CFA_PATTERN
Link copied to clipboard
CUSTOM_RENDERED
Link copied to clipboard
EXPOSURE_MODE
Link copied to clipboard

Value is int. This tag indicates the exposure mode set when the image was shot. In auto-bracketing mode, the camera shoots a series of frames of the same scene at different exposure settings.

  • 0 = Auto exposure
  • 1 = Manual exposure
  • 2 = Auto bracket
  • Other = reserved

WHITE_BALANCE
Link copied to clipboard
DIGITAL_ZOOM_RATIO
Link copied to clipboard

Value is double. 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

FOCAL_LENGTH_IN_35_MM_FILE
Link copied to clipboard

Value is unsigned int. This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. Exif 2.2 tag, usually not present, it can be calculated by:

CCDWidth = ( PixelXDimension * FocalplaneUnits / FocalplaneXRes );
FocalLengthIn35mmFilm = ( FocalLength / CCDWidth * 36 + 0.5 );

SCENE_CAPTURE_TYPE
Link copied to clipboard

Value is int. This tag indicates the type of scene that was shot. It can also be used to record the mode in which the image was shot. Note that this differs from the scene type (SceneType) tag.

  • 0 = Standard
  • 1 = Landscape
  • 2 = Portrait
  • 3 = Night scene
  • Other = reserved

GAIN_CONTROL
Link copied to clipboard

Value is int. This tag indicates the degree of overall image gain adjustment.

  • 0 = None
  • 1 = Low gain up
  • 2 = High gain up
  • 3 = Low gain down
  • 4 = High gain down
  • Other = reserved

CONTRAST
Link copied to clipboard

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

  • 0 = Normal
  • 1 = Soft
  • 2 = Hard
  • Other = reserved

SATURATION
Link copied to clipboard

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

  • 0 = Normal
  • 1 = Low saturation
  • 2 = High saturation
  • Other = reserved

SHARPNESS
Link copied to clipboard

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

  • 0 = Normal
  • 1 = Soft
  • 2 = Hard
  • Other = reserved

DEVICE_SETTING_DESCRIPTION
Link copied to clipboard
SUBJECT_DISTANCE_RANGE
Link copied to clipboard

Value is int. This tag indicates the distance to the subject.

  • 0 = unknown
  • 1 = Macro
  • 2 = Close view
  • 3 = Distant view
  • Other = reserved

IMAGE_UNIQUE_ID
Link copied to clipboard
LENS_SPECS
Link copied to clipboard

Lens Specifications. The value it's a 4 rational containing:

  1. Minimum focal length (in mm)
  2. Maximum focal length (in mm)
  3. Minimum F Number in the minimum focal length
  4. Maximum F Number in the maximum focal length

LENS_MAKE
Link copied to clipboard

Lens maker

LENS_MODEL
Link copied to clipboard

Lens model name and number

SENSITIVITY_TYPE
Link copied to clipboard

The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. Value = 4, 5, 6, or 7 may be used in case that the values of plural parameters are the same. Values:

  • 0: Unknown
  • 1: Standardoutputsensitivity(SOS)
  • 2: Recommended exposure index (REI)
  • 3: ISOspeed
  • 4: Standard output sensitivity (SOS) and recommended exposure index (REI)
  • 5: Standardoutputsensitivity(SOS)andISOspeed
  • 6: Recommendedexposureindex(REI)andISOspeed
  • 7: Standard output sensitivity (SOS) and recommended exposure index (REI) and ISO speed
  • Other: Reserved

GPS_VERSION_ID
Link copied to clipboard
GPS_LATITUDE_REF
Link copied to clipboard

Value is string(1) Indicates whether the latitude is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude.

GPS_LATITUDE
Link copied to clipboard

Value is 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.

GPS_LONGITUDE_REF
Link copied to clipboard

Value is string(1) Indicates whether the longitude is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude.

GPS_LONGITUDE
Link copied to clipboard

Value is 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.

GPS_ALTITUDE_REF
Link copied to clipboard

Value is byte 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 the GPSAltitude tag. The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags

GPS_ALTITUDE
Link copied to clipboard

Value is string. Indicates the altitude based on the reference in GPSAltitudeRef. Altitude is expressed as one RATIONAL value. The reference unit is meters.

GPS_TIME_STAMP
Link copied to clipboard
GPS_SATTELLITES
Link copied to clipboard
GPS_STATUS
Link copied to clipboard
GPS_MEASURE_MODE
Link copied to clipboard
GPS_DOP
Link copied to clipboard
GPS_SPEED_REF
Link copied to clipboard

Value is string(1). Indicates the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots.

GPS_SPEED
Link copied to clipboard

Value is string. Indicates the speed of GPS receiver movement

GPS_TRACK_REF
Link copied to clipboard
GPS_TRACK
Link copied to clipboard
GPS_IMG_DIRECTION_REF
Link copied to clipboard
GPS_IMG_DIRECTION
Link copied to clipboard
GPS_MAP_DATUM
Link copied to clipboard
GPS_DEST_LATITUDE_REF
Link copied to clipboard
GPS_DEST_LATITUDE
Link copied to clipboard
GPS_DEST_LONGITUDE_REF
Link copied to clipboard
GPS_DEST_LONGITUDE
Link copied to clipboard
GPS_DEST_BEARING_REF
Link copied to clipboard
GPS_DEST_BEARING
Link copied to clipboard
GPS_DEST_DISTANCE_REF
Link copied to clipboard
GPS_DEST_DISTANCE
Link copied to clipboard
GPS_PROCESSING_METHOD
Link copied to clipboard
GPS_AREA_INFORMATION
Link copied to clipboard
GPS_DATE_STAMP
Link copied to clipboard
GPS_DIFFERENTIAL
Link copied to clipboard
INTEROPERABILITY_INDEX
Link copied to clipboard

Functions

defineTag
Link copied to clipboard
open fun defineTag(ifdId: Int, tagId: Short): Int

Properties

id
Link copied to clipboard
open val id: Int