Skip to content
@deckyard/exif

Tag table

The tags the deck knows by name, with the field type the setters write. A bare name finds its IFD here; the TIFF tags default to IFD0 and reach IFD1 as "ifd1:Name". Any other tag is named by IFD and number ("exif:0xA460") and set with makeEntry. Names follow Exif 2.32 (PhotographicSensitivity is the ISO speed).

The pointer tags 0x8769 (Exif IFD), 0x8825 (GPS IFD), 0xA005 (Interoperability IFD) and IFD1's 0x0201 / 0x0202 (thumbnail offset and length) are not entries: the writer computes them.

IFD0 and IFD1 (ifd0, ifd1)

TagNameType
0x0100ImageWidthSHORT or LONG
0x0101ImageLengthSHORT or LONG
0x0102BitsPerSampleSHORT
0x0103CompressionSHORT
0x0106PhotometricInterpretationSHORT
0x010EImageDescriptionASCII
0x010FMakeASCII
0x0110ModelASCII
0x0112OrientationSHORT
0x0115SamplesPerPixelSHORT
0x0116RowsPerStripSHORT or LONG
0x0117StripByteCountsSHORT or LONG
0x011AXResolutionRATIONAL
0x011BYResolutionRATIONAL
0x011CPlanarConfigurationSHORT
0x0128ResolutionUnitSHORT
0x012DTransferFunctionSHORT
0x0131SoftwareASCII
0x0132DateTimeASCII
0x013BArtistASCII
0x013EWhitePointRATIONAL
0x013FPrimaryChromaticitiesRATIONAL
0x0211YCbCrCoefficientsRATIONAL
0x0212YCbCrSubSamplingSHORT
0x0213YCbCrPositioningSHORT
0x0214ReferenceBlackWhiteRATIONAL
0x8298CopyrightASCII
0x9C9BXPTitleBYTE
0x9C9CXPCommentBYTE
0x9C9DXPAuthorBYTE
0x9C9EXPKeywordsBYTE
0x9C9FXPSubjectBYTE

Exif IFD (exif)

TagNameType
0x829AExposureTimeRATIONAL
0x829DFNumberRATIONAL
0x8822ExposureProgramSHORT
0x8824SpectralSensitivityASCII
0x8827PhotographicSensitivitySHORT
0x8828OECFUNDEFINED
0x8830SensitivityTypeSHORT
0x8832RecommendedExposureIndexLONG
0x9000ExifVersionUNDEFINED
0x9003DateTimeOriginalASCII
0x9004DateTimeDigitizedASCII
0x9010OffsetTimeASCII
0x9011OffsetTimeOriginalASCII
0x9012OffsetTimeDigitizedASCII
0x9101ComponentsConfigurationUNDEFINED
0x9102CompressedBitsPerPixelRATIONAL
0x9201ShutterSpeedValueSRATIONAL
0x9202ApertureValueRATIONAL
0x9203BrightnessValueSRATIONAL
0x9204ExposureBiasValueSRATIONAL
0x9205MaxApertureValueRATIONAL
0x9206SubjectDistanceRATIONAL
0x9207MeteringModeSHORT
0x9208LightSourceSHORT
0x9209FlashSHORT
0x920AFocalLengthRATIONAL
0x9214SubjectAreaSHORT
0x927CMakerNoteUNDEFINED
0x9286UserCommentUNDEFINED
0x9290SubSecTimeASCII
0x9291SubSecTimeOriginalASCII
0x9292SubSecTimeDigitizedASCII
0xA000FlashpixVersionUNDEFINED
0xA001ColorSpaceSHORT
0xA002PixelXDimensionSHORT or LONG
0xA003PixelYDimensionSHORT or LONG
0xA004RelatedSoundFileASCII
0xA20BFlashEnergyRATIONAL
0xA20EFocalPlaneXResolutionRATIONAL
0xA20FFocalPlaneYResolutionRATIONAL
0xA210FocalPlaneResolutionUnitSHORT
0xA214SubjectLocationSHORT
0xA215ExposureIndexRATIONAL
0xA217SensingMethodSHORT
0xA300FileSourceUNDEFINED
0xA301SceneTypeUNDEFINED
0xA302CFAPatternUNDEFINED
0xA401CustomRenderedSHORT
0xA402ExposureModeSHORT
0xA403WhiteBalanceSHORT
0xA404DigitalZoomRatioRATIONAL
0xA405FocalLengthIn35mmFilmSHORT
0xA406SceneCaptureTypeSHORT
0xA407GainControlSHORT
0xA408ContrastSHORT
0xA409SaturationSHORT
0xA40ASharpnessSHORT
0xA40CSubjectDistanceRangeSHORT
0xA420ImageUniqueIDASCII
0xA430CameraOwnerNameASCII
0xA431BodySerialNumberASCII
0xA432LensSpecificationRATIONAL
0xA433LensMakeASCII
0xA434LensModelASCII
0xA435LensSerialNumberASCII
0xA500GammaRATIONAL

GPS IFD (gps)

TagNameType
0x0000GPSVersionIDBYTE
0x0001GPSLatitudeRefASCII
0x0002GPSLatitudeRATIONAL
0x0003GPSLongitudeRefASCII
0x0004GPSLongitudeRATIONAL
0x0005GPSAltitudeRefBYTE
0x0006GPSAltitudeRATIONAL
0x0007GPSTimeStampRATIONAL
0x0008GPSSatellitesASCII
0x0009GPSStatusASCII
0x000AGPSMeasureModeASCII
0x000BGPSDOPRATIONAL
0x000CGPSSpeedRefASCII
0x000DGPSSpeedRATIONAL
0x000EGPSTrackRefASCII
0x000FGPSTrackRATIONAL
0x0010GPSImgDirectionRefASCII
0x0011GPSImgDirectionRATIONAL
0x0012GPSMapDatumASCII
0x0013GPSDestLatitudeRefASCII
0x0014GPSDestLatitudeRATIONAL
0x0015GPSDestLongitudeRefASCII
0x0016GPSDestLongitudeRATIONAL
0x0017GPSDestBearingRefASCII
0x0018GPSDestBearingRATIONAL
0x0019GPSDestDistanceRefASCII
0x001AGPSDestDistanceRATIONAL
0x001BGPSProcessingMethodUNDEFINED
0x001CGPSAreaInformationUNDEFINED
0x001DGPSDateStampASCII
0x001EGPSDifferentialSHORT
0x001FGPSHPositioningErrorRATIONAL

Interoperability IFD (interop)

TagNameType
0x0001InteroperabilityIndexASCII
0x0002InteroperabilityVersionUNDEFINED
0x1000RelatedImageFileFormatASCII
0x1001RelatedImageWidthSHORT or LONG
0x1002RelatedImageLengthSHORT or LONG