Exiv2 - Exif and IPTC metadata library and tools
Author: Andreas Huggel
Description: Open source Exif and IPTC metadata library and tools with Exif MakerNote and read/write support
Keywords: exif, iptc, metadata, makernote, manipulation, manipulate, read and write, write, change, update, jpeg, jpg, ifd, image file directory, thumbnail, thumbnails, tag, tags, canon, fujifilm, sigma/foveon, nikon, open source, opensource, huggel, andreas, andreas huggel

- Main Page
- Namespaces
- Classes
- Files
- Examples

- Exif
- Canon
- Fujifilm
- Minolta
- Nikon
- Olympus
- Panasonic
- Pentax
- Sigma/Foveon
- Sony

- IPTC datasets

- dc
- xmp
- xmpRights
- xmpMM
- xmpBJ
- xmpTPg
- xmpDM
- pdf
- photoshop
- crs
- tiff
- exif
- aux
- Iptc4xmpCore

# Exiv2 Tag Tables

## Exif Schema for Exif-specific Properties

The following table lists the XMP properties defined solely by Exif.

Note: A number of Exif 2.2 properties are not included in XMP. These are generally properties that relate directly to the image stream, or that are of little use without access to the image stream. A general XMP principle is that XMP metadata should have value in and of itself, separate from the primary file content. The omitted properties include: StripOffsets, RowsPerStrip, StripByteCounts, JPEGInterchangeFormat, and JPEGInterchangeFormatLength.

Note: Properties beginning with "GPS" are GPS properties that are also used by DIG-35 and are part of the JPEG-2000 standard.

- Exiv2 keys are `Xmp.exif.<Property>`
- The schema namespace URI is `http://ns.adobe.com/exif/1.0/`
- The preferred schema namespace prefix is `exif`

Reference: XMP specification

Click on a column header to sort the table.

Property | Label | Value type | Exiv2 type | Category | Description
--- | --- | --- | --- | --- | ---
ExifVersion | Exif Version | Closed Choice of Text | XmpText | Internal | EXIF tag 36864, 0x9000. EXIF version number.
FlashpixVersion | Flashpix Version | Closed Choice of Text | XmpText | Internal | EXIF tag 40960, 0xA000. Version of FlashPix.
ColorSpace | Color Space | Closed Choice of Integer | XmpText | Internal | EXIF tag 40961, 0xA001. Color space information
ComponentsConfiguration | Components Configuration | Closed Choice of seq Integer | XmpSeq | Internal | EXIF tag 37121, 0x9101. Configuration of components in data: 4 5 6 0 (if RGB compressed data), 1 2 3 0 (other cases).
CompressedBitsPerPixel | Compressed Bits Per Pixel | Rational | XmpText | Internal | EXIF tag 37122, 0x9102. Compression mode used for a compressed image is indicated in unit bits per pixel.
PixelXDimension | Pixel X Dimension | Integer | XmpText | Internal | EXIF tag 40962, 0xA002. Valid image width, in pixels.
PixelYDimension | Pixel Y Dimension | Integer | XmpText | Internal | EXIF tag 40963, 0xA003. Valid image height, in pixels.
UserComment | User Comment | Lang Alt | LangAlt | External | EXIF tag 37510, 0x9286. Comments from user.
RelatedSoundFile | Related Sound File | Text | XmpText | Internal | EXIF tag 40964, 0xA004. An "8.3" file name for the related sound file.
DateTimeOriginal | Date and Time Original | Date | XmpText | Internal | EXIF tags 36867, 0x9003 (primary) and 37521, 0x9291 (subseconds). Date and time when original image was generated, in ISO 8601 format. Includes the EXIF SubSecTimeOriginal data.
DateTimeDigitized | Date and Time Digitized | Date | XmpText | Internal | EXIF tag 36868, 0x9004 (primary) and 37522, 0x9292 (subseconds). Date and time when image was stored as digital data, can be the same as DateTimeOriginal if originally stored in digital form. Stored in ISO 8601 format. Includes the EXIF SubSecTimeDigitized data.
ExposureTime | Exposure Time | Rational | XmpText | Internal | EXIF tag 33434, 0x829A. Exposure time in seconds.
FNumber | F Number | Rational | XmpText | Internal | EXIF tag 33437, 0x829D. F number.
ExposureProgram | Exposure Program | Closed Choice of Integer | XmpText | Internal | EXIF tag 34850, 0x8822. Class of program used for exposure.
SpectralSensitivity | Spectral Sensitivity | Text | XmpText | Internal | EXIF tag 34852, 0x8824. Spectral sensitivity of each channel.
ISOSpeedRatings | ISOSpeedRatings | seq Integer | XmpSeq | Internal | EXIF tag 34855, 0x8827. ISO Speed and ISO Latitude of the input device as specified in ISO 12232.
OECF | OECF | OECF/SFR | XmpText | Internal | EXIF tag 34856, 0x8828. Opto-Electoric Conversion Function as specified in ISO 14524.
ShutterSpeedValue | Shutter Speed Value | Rational | XmpText | Internal | EXIF tag 37377, 0x9201. Shutter speed, unit is APEX. See Annex C of the EXIF specification.
ApertureValue | Aperture Value | Rational | XmpText | Internal | EXIF tag 37378, 0x9202. Lens aperture, unit is APEX.
BrightnessValue | Brightness Value | Rational | XmpText | Internal | EXIF tag 37379, 0x9203. Brightness, unit is APEX.
ExposureBiasValue | Exposure Bias Value | Rational | XmpText | Internal | EXIF tag 37380, 0x9204. Exposure bias, unit is APEX.
MaxApertureValue | Maximum Aperture Value | Rational | XmpText | Internal | EXIF tag 37381, 0x9205. Smallest F number of lens, in APEX.
SubjectDistance | Subject Distance | Rational | XmpText | Internal | EXIF tag 37382, 0x9206. Distance to subject, in meters.
MeteringMode | Metering Mode | Closed Choice of Integer | XmpText | Internal | EXIF tag 37383, 0x9207. Metering mode.
LightSource | Light Source | Closed Choice of Integer | XmpText | Internal | EXIF tag 37384, 0x9208. Light source.
Flash | Flash | Flash | XmpText | Internal | EXIF tag 37385, 0x9209. Strobe light (flash) source data.
FocalLength | Focal Length | Rational | XmpText | Internal | EXIF tag 37386, 0x920A. Focal length of the lens, in millimeters.
SubjectArea | Subject Area | seq Integer | XmpSeq | Internal | EXIF tag 37396, 0x9214. The location and area of the main subject in the overall scene.
FlashEnergy | Flash Energy | Rational | XmpText | Internal | EXIF tag 41483, 0xA20B. Strobe energy during image capture.
SpatialFrequencyResponse | Spatial Frequency Response | OECF/SFR | XmpText | Internal | EXIF tag 41484, 0xA20C. Input device spatial frequency table and SFR values as specified in ISO 12233.
FocalPlaneXResolution | Focal Plane X Resolution | Rational | XmpText | Internal | EXIF tag 41486, 0xA20E. Horizontal focal resolution, measured pixels per unit.
FocalPlaneYResolution | Focal Plane Y Resolution | Rational | XmpText | Internal | EXIF tag 41487, 0xA20F. Vertical focal resolution, measured in pixels per unit.
FocalPlaneResolutionUnit | Focal Plane Resolution Unit | Closed Choice of Integer | XmpText | Internal | EXIF tag 41488, 0xA210. Unit used for FocalPlaneXResolution and FocalPlaneYResolution.
SubjectLocation | Subject Location | seq Integer | XmpSeq | Internal | EXIF tag 41492, 0xA214. Location of the main subject of the scene. The first value is the horizontal pixel and the second value is the vertical pixel at which the main subject appears.
ExposureIndex | Exposure Index | Rational | XmpText | Internal | EXIF tag 41493, 0xA215. Exposure index of input device.
SensingMethod | Sensing Method | Closed Choice of Integer | XmpText | Internal | EXIF tag 41495, 0xA217. Image sensor type on input device.
FileSource | File Source | Closed Choice of Integer | XmpText | Internal | EXIF tag 41728, 0xA300. Indicates image source.
SceneType | Scene Type | Closed Choice of Integer | XmpText | Internal | EXIF tag 41729, 0xA301. Indicates the type of scene.
CFAPattern | CFA Pattern | CFAPattern | XmpText | Internal | EXIF tag 41730, 0xA302. Color filter array geometric pattern of the image sense.
CustomRendered | Custom Rendered | Closed Choice of Integer | XmpText | Internal | EXIF tag 41985, 0xA401. Indicates the use of special processing on image data.
ExposureMode | Exposure Mode | Closed Choice of Integer | XmpText | Internal | EXIF tag 41986, 0xA402. Indicates the exposure mode set when the image was shot.
WhiteBalance | White Balance | Closed Choice of Integer | XmpText | Internal | EXIF tag 41987, 0xA403. Indicates the white balance mode set when the image was shot.
DigitalZoomRatio | Digital Zoom Ratio | Rational | XmpText | Internal | EXIF tag 41988, 0xA404. Indicates the digital zoom ratio when the image was shot.
FocalLengthIn35mmFilm | Focal Length In 35mm Film | Integer | XmpText | Internal | EXIF tag 41989, 0xA405. 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 the FocalLength tag.
SceneCaptureType | Scene Capture Type | Closed Choice of Integer | XmpText | Internal | EXIF tag 41990, 0xA406. Indicates the type of scene that was shot.
GainControl | Gain Control | Closed Choice of Integer | XmpText | Internal | EXIF tag 41991, 0xA407. Indicates the degree of overall image gain adjustment.
Contrast | Contrast | Closed Choice of Integer | XmpText | Internal | EXIF tag 41992, 0xA408. Indicates the direction of contrast processing applied by the camera.
Saturation | Saturation | Closed Choice of Integer | XmpText | Internal | EXIF tag 41993, 0xA409. Indicates the direction of saturation processing applied by the camera.
Sharpness | Sharpness | Closed Choice of Integer | XmpText | Internal | EXIF tag 41994, 0xA40A. Indicates the direction of sharpness processing applied by the camera.
DeviceSettingDescription | Device Setting Description | DeviceSettings | XmpText | Internal | EXIF tag 41995, 0xA40B. Indicates information on the picture-taking conditions of a particular camera model.
SubjectDistanceRange | Subject Distance Range | Closed Choice of Integer | XmpText | Internal | EXIF tag 41996, 0xA40C. Indicates the distance to the subject.
ImageUniqueID | Image Unique ID | Text | XmpText | Internal | EXIF tag 42016, 0xA420. An identifier assigned uniquely to each image. It is recorded as a 32 character ASCII string, equivalent to hexadecimal notation and 128-bit fixed length.
GPSVersionID | GPS Version ID | Text | XmpText | Internal | GPS tag 0, 0x00. A decimal encoding of each of the four EXIF bytes with period separators. The current value is "2.0.0.0".
GPSLatitude | GPS Latitude | GPSCoordinate | XmpText | Internal | GPS tag 2, 0x02 (position) and 1, 0x01 (North/South). Indicates latitude.
GPSLongitude | GPS Longitude | GPSCoordinate | XmpText | Internal | GPS tag 4, 0x04 (position) and 3, 0x03 (East/West). Indicates longitude.
GPSAltitudeRef | GPS Altitude Reference | Closed Choice of Integer | XmpText | Internal | GPS tag 5, 0x5. Indicates whether the altitude is above or below sea level.
GPSAltitude | GPS Altitude | Rational | XmpText | Internal | GPS tag 6, 0x06. Indicates altitude in meters.
GPSTimeStamp | GPS Time Stamp | Date | XmpText | Internal | GPS tag 29 (date), 0x1D, and, and GPS tag 7 (time), 0x07. Time stamp of GPS data, in Coordinated Universal Time. Note: The GPSDateStamp tag is new in EXIF 2.2. The GPS timestamp in EXIF 2.1 does not include a date. If not present, the date component for the XMP should be taken from exif:DateTimeOriginal, or if that is also lacking from exif:DateTimeDigitized. If no date is available, do not write exif:GPSTimeStamp to XMP.
GPSSatellites | GPS Satellites | Text | XmpText | Internal | GPS tag 8, 0x08. Satellite information, format is unspecified.
GPSStatus | GPS Status | Closed Choice of Text | XmpText | Internal | GPS tag 9, 0x09. Status of GPS receiver at image creation time.
GPSMeasureMode | GPS Measure Mode | Text | XmpText | Internal | GPS tag 10, 0x0A. GPS measurement mode, Text type.
GPSDOP | GPS DOP | Rational | XmpText | Internal | GPS tag 11, 0x0B. Degree of precision for GPS data.
GPSSpeedRef | GPS Speed Reference | Closed Choice of Text | XmpText | Internal | GPS tag 12, 0x0C. Units used to speed measurement.
GPSSpeed | GPS Speed | Rational | XmpText | Internal | GPS tag 13, 0x0D. Speed of GPS receiver movement.
GPSTrackRef | GPS Track Reference | Closed Choice of Text | XmpText | Internal | GPS tag 14, 0x0E. Reference for movement direction.
GPSTrack | GPS Track | Rational | XmpText | Internal | GPS tag 15, 0x0F. Direction of GPS movement, values range from 0 to 359.99.
GPSImgDirectionRef | GPS Image Direction Reference | Closed Choice of Text | XmpText | Internal | GPS tag 16, 0x10. Reference for movement direction.
GPSImgDirection | GPS Image Direction | Rational | XmpText | Internal | GPS tag 17, 0x11. Direction of image when captured, values range from 0 to 359.99.
GPSMapDatum | GPS Map Datum | Text | XmpText | Internal | GPS tag 18, 0x12. Geodetic survey data.
GPSDestLatitude | GPS Destination Latitude | GPSCoordinate | XmpText | Internal | GPS tag 20, 0x14 (position) and 19, 0x13 (North/South). Indicates destination latitude.
GPSDestLongitude | GPS Destination Longitude | GPSCoordinate | XmpText | Internal | GPS tag 22, 0x16 (position) and 21, 0x15 (East/West). Indicates destination longitude.
GPSDestBearingRef | GPS Destination Bearing Reference | Closed Choice of Text | XmpText | Internal | GPS tag 23, 0x17. Reference for movement direction.
GPSDestBearing | GPS Destination Bearing | Rational | XmpText | Internal | GPS tag 24, 0x18. Destination bearing, values from 0 to 359.99.
GPSDestDistanceRef | GPS Destination Distance Refefrence | Closed Choice of Text | XmpText | Internal | GPS tag 25, 0x19. Units used for speed measurement.
GPSDestDistance | GPS Destination Distance | Rational | XmpText | Internal | GPS tag 26, 0x1A. Distance to destination.
GPSProcessingMethod | GPS Processing Method | Text | XmpText | Internal | GPS tag 27, 0x1B. A character string recording the name of the method used for location finding.
GPSAreaInformation | GPS Area Information | Text | XmpText | Internal | GPS tag 28, 0x1C. A character string recording the name of the GPS area.
GPSDifferential | GPS Differential | Closed Choice of Integer | XmpText | Internal | GPS tag 30, 0x1E. Indicates whether differential correction is applied to the GPS receiver.