UNPKG

exiftool-vendored

Version:
1,217 lines 304 kB
import { BinaryField } from "./BinaryField"; import { ContainerDirectoryItem } from "./ContainerDirectoryItem"; import { ExifDate } from "./ExifDate"; import { ExifDateTime } from "./ExifDateTime"; import { ExifTime } from "./ExifTime"; import { ExifToolVendoredTags } from "./ExifToolVendoredTags"; import { GeolocationTags } from "./GeolocationTags"; import { ICCProfileTags } from "./ICCProfileTags"; import { ImageDataHashTag } from "./ImageDataHashTag"; import { IPTCApplicationRecordTags } from "./IPTCApplicationRecordTags"; import { MWGCollectionsTags, MWGKeywordTags } from "./MWGTags"; import { ResourceEvent } from "./ResourceEvent"; import { StrEnum, StrEnumKeys } from "./StrEnum"; import { Struct } from "./Struct"; import { Version } from "./Version"; /** * These tags are added by `exiftool`. */ export interface ExifToolTags { /** ☆☆☆☆ ✔ Example: "File is empty" */ Error?: string; /** ★★★★ ✔ Example: "13.30" */ ExifToolVersion?: string; /** ☆☆☆☆ Example: "path/to/file.jpg" */ SourceFile?: string; /** ☆☆☆☆ ✔ Example: "Unrecognized IPTC record 0 (ignored)" */ Warning?: string; } export declare const ExifToolTagsNames: StrEnum<"Error" | "ExifToolVersion" | "SourceFile" | "Warning">; export type ExifToolTag = StrEnumKeys<typeof ExifToolTagsNames>; /** * These tags are not metadata fields, but are intrinsic to the content of a * given file. ExifTool can't write to many of these tags. */ export interface FileTags { /** ★★★★ ✔ Example: 8 */ BitsPerSample?: number; /** ☆☆☆☆ ✔ Example: "Windows V3" */ BMPVersion?: string; /** ★★★★ ✔ Example: 3 */ ColorComponents?: number; /** ☆☆☆☆ ✔ Example: "ff5978eb5c164fa308177d41e817e08f" */ CurrentIPTCDigest?: string; /** ★★★★ ✔ Example: "/home/username/pictures" */ Directory?: string; /** ★★★★ ✔ Example: "Progressive DCT, Huffman coding" */ EncodingProcess?: string; /** ★★★★ ✔ Example: "Little-endian (Intel, II)" */ ExifByteOrder?: string; /** ★★★★ ✔ Example: "2025:05:22 21:23:30Z" */ FileAccessDate?: ExifDateTime | string; /** ☆☆☆☆ Example: */ FileCreateDate?: ExifDateTime | string; /** ★★★★ ✔ Example: "2025:05:22 05:00:38Z" */ FileInodeChangeDate?: ExifDateTime | string; /** ★★★★ ✔ Example: "2024:06:16 01:39:22Z" */ FileModifyDate?: ExifDateTime | string; /** ★★★★ ✔ Example: "truncated.mp4" */ FileName?: string; /** ★★★★ ✔ Example: "-rwxrwxr-x" */ FilePermissions?: string; /** ★★★★ ✔ Example: "990 bytes" */ FileSize?: string; /** ★★★★ ✔ Example: "RW2" */ FileType?: string; /** ★★★★ ✔ Example: "rw2" */ FileTypeExtension?: string; /** ☆☆☆☆ Example: */ ImageDataMD5?: string; /** ★★★★ ✔ Example: 960 */ ImageHeight?: number; /** ★★★★ ✔ Example: 96 */ ImageWidth?: number; /** ★★★★ ✔ Example: "video/x-msvideo" */ MIMEType?: string; /** ☆☆☆☆ ✔ Example: "Use BitDepth" */ NumColors?: string; /** ☆☆☆☆ ✔ Example: "All" */ NumImportantColors?: string; /** ☆☆☆☆ ✔ Example: 0 */ PixelsPerMeterX?: number; /** ☆☆☆☆ ✔ Example: 0 */ PixelsPerMeterY?: number; /** ☆☆☆☆ ✔ Example: 1 */ Planes?: number; /** ★★★★ ✔ Example: "YCbCr4:4:4 (1 1)" */ YCbCrSubSampling?: string; } export declare const FileTagsNames: StrEnum<"BitsPerSample" | "BMPVersion" | "ColorComponents" | "CurrentIPTCDigest" | "Directory" | "EncodingProcess" | "ExifByteOrder" | "FileAccessDate" | "FileCreateDate" | "FileInodeChangeDate" | "FileModifyDate" | "FileName" | "FilePermissions" | "FileSize" | "FileType" | "FileTypeExtension" | "ImageDataMD5" | "ImageHeight" | "ImageWidth" | "MIMEType" | "NumColors" | "NumImportantColors" | "PixelsPerMeterX" | "PixelsPerMeterY" | "Planes" | "YCbCrSubSampling">; export type FileTag = StrEnumKeys<typeof FileTagsNames>; export interface APPTags { /** ☆☆☆☆ Example: "59 128 128" */ AboveColor?: string; /** ☆☆☆☆ Example: 388 */ Again?: number; /** ☆☆☆☆ Example: "5.0 C" */ AtmosphericTemperature?: string; /** ☆☆☆☆ ✔ Example: 800 */ AutoISOMax?: number; /** ☆☆☆☆ ✔ Example: 3200 */ AutoISOMin?: number; /** ☆☆☆☆ ✔ Example: "Up" */ AutoRotation?: string; /** ☆☆☆☆ Example: 3383 */ B5100?: number; /** ☆☆☆☆ Example: "60 128 128" */ BelowColor?: string; /** ☆☆☆☆ Example: 2438 */ Bgain?: number; /** ☆☆☆☆ Example: 255 */ BHighLight?: number; /** ☆☆☆☆ Example: 216 */ BHL?: number; /** ☆☆☆☆ Example: 33 */ Blk0?: number; /** ☆☆☆☆ Example: 32 */ Blk1?: number; /** ☆☆☆☆ Example: 86 */ BMean?: number; /** ☆☆☆☆ Example: 6 */ Boff?: number; /** ☆☆☆☆ Example: 1 */ BSd?: number; /** ☆☆☆☆ Example: 3 */ BSD?: number; /** ☆☆☆☆ Example: 1908 */ BStrobe?: number; /** ☆☆☆☆ Example: "Z-CAMERA" */ CameraModel?: string; /** ☆☆☆☆ Example: "_______________" */ CameraPartNumber?: string; /** ☆☆☆☆ ✔ Example: 8340330 */ CameraSerialNumber?: number; /** ☆☆☆☆ Example: "https://PhotoStructure.com/" */ CameraSoftware?: string; /** ☆☆☆☆ Example: 2 */ Case?: number; /** ☆☆☆☆ Example: 2 */ CBal?: number; /** ☆☆☆☆ Example: 1 */ Color?: number; /** ☆☆☆☆ ✔ Example: 42926626 */ COLOR1?: number; /** ☆☆☆☆ ✔ Example: 32321478 */ COLOR2?: number; /** ☆☆☆☆ ✔ Example: 22701368 */ COLOR3?: number; /** ☆☆☆☆ ✔ Example: 5 */ COLOR4?: number; /** ☆☆☆☆ ✔ Example: "YCbCr" */ ColorTransform?: string; /** ☆☆☆☆ Example: 45 */ Compass?: string; /** ☆☆☆☆ ✔ Example: 0 */ ContTake?: number; /** ☆☆☆☆ Example: "https://PhotoStructure.com/" */ CreatorSoftware?: string; /** ☆☆☆☆ Example: "2013:03:12 16:31:26" */ DateTimeGenerated?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: 100 */ DCTEncodeVersion?: number; /** ☆☆☆☆ ✔ Example: "Photo Global Settings" */ DeviceName?: string; /** ☆☆☆☆ ✔ Example: 148.34216 */ DiagonalFieldOfView?: number; /** ☆☆☆☆ ✔ Example: "Yes" */ DigitalZoomOn?: string; /** ☆☆☆☆ Example: "(Binary data 275008 bytes, use -b option to extract)" */ EmbeddedImage?: BinaryField | string; /** ☆☆☆☆ Example: 960 */ EmbeddedImageHeight?: number; /** ☆☆☆☆ Example: "PNG" */ EmbeddedImageType?: string; /** ☆☆☆☆ Example: 640 */ EmbeddedImageWidth?: number; /** ☆☆☆☆ Example: 1 */ Emissivity?: number; /** ☆☆☆☆ ✔ Example: 8501 */ EXP1?: number; /** ☆☆☆☆ ✔ Example: 59 */ EXP2?: number; /** ☆☆☆☆ ✔ Example: 237 */ EXP3?: number; /** ☆☆☆☆ Example: 0.97 */ ExposRatio?: number; /** ☆☆☆☆ Example: 3687 */ Exposure?: number; /** ☆☆☆☆ ✔ Example: "AUTO" */ ExposureType?: string; /** ☆☆☆☆ Example: "46.1 deg" */ FieldOfView?: string; /** ☆☆☆☆ Example: "NOF" */ FilterModel?: string; /** ☆☆☆☆ Example: "" */ FilterPartNumber?: string; /** ☆☆☆☆ Example: "00000000" */ FilterSerialNumber?: string; /** ☆☆☆☆ Example: 1 */ FinalRatio?: number; /** ☆☆☆☆ Example: 640 */ FlashTime?: number; /** ☆☆☆☆ Example: 192 */ FMean?: number; /** ☆☆☆☆ ✔ Example: "F2.8" */ Fnumber?: string; /** ☆☆☆☆ ✔ Example: "inf" */ FocusDistance?: string; /** ☆☆☆☆ Example: 136 */ FocusPos?: number; /** ☆☆☆☆ ✔ Example: 98 */ FocusStepCount?: number; /** ☆☆☆☆ ✔ Example: 9 */ FrameRate?: number; /** ☆☆☆☆ Example: 85 */ Gain?: number; /** ☆☆☆☆ Example: 2152 */ GBgain?: number; /** ☆☆☆☆ Example: 8 */ GBoff?: number; /** ☆☆☆☆ Example: 255 */ GHighLight?: number; /** ☆☆☆☆ Example: 255 */ GHL?: number; /** ☆☆☆☆ Example: 52 */ GMean?: number; /** ☆☆☆☆ ✔ Example: 88.01 */ GPSTrack?: number; /** ☆☆☆☆ ✔ Example: "True North" */ GPSTrackRef?: string; /** ☆☆☆☆ Example: true */ GPSValid?: boolean; /** ☆☆☆☆ Example: 2152 */ GRgain?: number; /** ☆☆☆☆ Example: 8 */ GRoff?: number; /** ☆☆☆☆ Example: 1 */ GSd?: number; /** ☆☆☆☆ Example: 4 */ GSD?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 1458 bytes, use -b option to extract)" */ HDRGainCurve?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 377 */ HDRGainCurveSize?: number; /** ☆☆☆☆ ✔ Example: "PDR-M60" */ ID?: string; /** ☆☆☆☆ Example: "7.4 C" */ IRWindowTemperature?: string; /** ☆☆☆☆ Example: 1 */ IRWindowTransmission?: number; /** ☆☆☆☆ Example: "99 128 128" */ Isotherm1Color?: string; /** ☆☆☆☆ Example: "92 115 209" */ Isotherm2Color?: string; /** ☆☆☆☆ ✔ Example: 696880 */ JPEG1?: number; /** ☆☆☆☆ Example: "T199104" */ LensPartNumber?: string; /** ☆☆☆☆ ✔ Example: "GPRO" */ LensProjection?: string; /** ☆☆☆☆ ✔ Example: 0 */ LightS?: number; /** ☆☆☆☆ Example: " 10.6" */ Mean?: string; /** ☆☆☆☆ Example: 1 */ Meas1Label?: number; /** ☆☆☆☆ Example: "80 60" */ Meas1Params?: string; /** ☆☆☆☆ Example: "Spot" */ Meas1Type?: string; /** ☆☆☆☆ Example: "Sp1" */ Meas2Label?: string; /** ☆☆☆☆ Example: "213 160 213 160" */ Meas2Params?: string; /** ☆☆☆☆ Example: "Spot" */ Meas2Type?: string; /** ☆☆☆☆ ✔ Example: "859830e2f50cb3397a6216f09553fce800000000000000000000000000000000" */ MediaUniqueID?: string; /** ☆☆☆☆ ✔ Example: "7.6.4" */ MetadataVersion?: string; /** ☆☆☆☆ Example: 26 */ MotorPos?: number; /** ☆☆☆☆ Example: 4 */ Offset?: number; /** ☆☆☆☆ Example: "+98" */ OffsetX?: string; /** ☆☆☆☆ Example: "+51" */ OffsetY?: string; /** ☆☆☆☆ Example: "67 216 98" */ OverflowColor?: string; /** ☆☆☆☆ Example: "(Binary data 672 bytes, use -b option to extract)" */ Palette?: BinaryField | string; /** ☆☆☆☆ Example: 224 */ PaletteColors?: number; /** ☆☆☆☆ Example: "iron.pal" */ PaletteFileName?: string; /** ☆☆☆☆ Example: 0 */ PaletteMethod?: number; /** ☆☆☆☆ Example: "iron" */ PaletteName?: string; /** ☆☆☆☆ Example: 3 */ PaletteStretch?: number; /** ☆☆☆☆ Example: ".basicImgData.objectParams.emissivity" */ Param0?: string; /** ☆☆☆☆ ✔ Example: "12MP_W" */ PhotoResolution?: string; /** ☆☆☆☆ ✔ Example: 87648 */ PicLen?: number; /** ☆☆☆☆ ✔ Example: 0 */ Protect?: number; /** ☆☆☆☆ ✔ Example: "On" */ Protune?: string; /** ☆☆☆☆ Example: 6929 */ R5100?: number; /** ☆☆☆☆ ✔ Example: "4_1SEC" */ Rate?: string; /** ☆☆☆☆ Example: "(Binary data 614604 bytes, use -b option to extract)" */ RawThermalImage?: BinaryField | string; /** ☆☆☆☆ Example: 90 */ RawThermalImageHeight?: number; /** ☆☆☆☆ Example: "TIFF" */ RawThermalImageType?: string; /** ☆☆☆☆ Example: 80 */ RawThermalImageWidth?: number; /** ☆☆☆☆ Example: 9392 */ RawValueMedian?: number; /** ☆☆☆☆ Example: 993 */ RawValueRange?: number; /** ☆☆☆☆ Example: 65535 */ RawValueRangeMax?: number; /** ☆☆☆☆ Example: 8628 */ RawValueRangeMin?: number; /** ☆☆☆☆ Example: 2.2125397 */ Real2IR?: number; /** ☆☆☆☆ Example: "26.7 C" */ ReflectedApparentTemperature?: string; /** ☆☆☆☆ Example: "80.0 %" */ RelativeHumidity?: string; /** ☆☆☆☆ ✔ Example: 6 */ Resolution?: number; /** ☆☆☆☆ ✔ Example: "DCPT" */ REV?: string; /** ☆☆☆☆ Example: 1887 */ Rgain?: number; /** ☆☆☆☆ Example: 255 */ RHighLight?: number; /** ☆☆☆☆ Example: 247 */ RHL?: number; /** ☆☆☆☆ Example: 32 */ RMean?: number; /** ☆☆☆☆ Example: 9 */ Roff?: number; /** ☆☆☆☆ Example: 1 */ RSd?: number; /** ☆☆☆☆ Example: 4 */ RSD?: number; /** ☆☆☆☆ Example: 5896 */ RStrobe?: number; /** ☆☆☆☆ ✔ Example: "8259,0,14bfe,a184,11987,1e4f1,0,7c0000,40b60000,56a05e6,6…0038,d7" */ S0?: string; /** ☆☆☆☆ ✔ Example: "No" */ SpotMeter?: string; /** ☆☆☆☆ Example: 0 */ StrobeTime?: number; /** ☆☆☆☆ ✔ Example: "bd1,1,5,2beec,b5,ec15" */ T0?: string; /** ☆☆☆☆ ✔ Example: 357 */ TagB?: number; /** ☆☆☆☆ ✔ Example: 92 */ TagQ?: number; /** ☆☆☆☆ ✔ Example: 243 */ TagR?: number; /** ☆☆☆☆ ✔ Example: "v" */ TagS?: string; /** ☆☆☆☆ ✔ Example: 4016 */ ThmLen?: number; /** ☆☆☆☆ Example: "41 110 240" */ UnderflowColor?: string; /** ★☆☆☆ ✔ Example: "vf0-3c" */ Version?: string; /** ☆☆☆☆ Example: 4054 */ YLevel?: number; /** ☆☆☆☆ Example: 2209 */ YTarget?: number; /** ☆☆☆☆ ✔ Example: */ Zoom?: string; /** ☆☆☆☆ Example: 9 */ ZoomPos?: number; } export declare const APPTagsNames: StrEnum<"AboveColor" | "Again" | "AtmosphericTemperature" | "AutoISOMax" | "AutoISOMin" | "AutoRotation" | "B5100" | "BelowColor" | "Bgain" | "BHighLight" | "BHL" | "Blk0" | "Blk1" | "BMean" | "Boff" | "BSd" | "BSD" | "BStrobe" | "CameraModel" | "CameraPartNumber" | "CameraSerialNumber" | "CameraSoftware" | "Case" | "CBal" | "Color" | "COLOR1" | "COLOR2" | "COLOR3" | "COLOR4" | "ColorTransform" | "Compass" | "ContTake" | "CreatorSoftware" | "DateTimeGenerated" | "DCTEncodeVersion" | "DeviceName" | "DiagonalFieldOfView" | "DigitalZoomOn" | "EmbeddedImage" | "EmbeddedImageHeight" | "EmbeddedImageType" | "EmbeddedImageWidth" | "Emissivity" | "EXP1" | "EXP2" | "EXP3" | "ExposRatio" | "Exposure" | "ExposureType" | "FieldOfView" | "FilterModel" | "FilterPartNumber" | "FilterSerialNumber" | "FinalRatio" | "FlashTime" | "FMean" | "Fnumber" | "FocusDistance" | "FocusPos" | "FocusStepCount" | "FrameRate" | "Gain" | "GBgain" | "GBoff" | "GHighLight" | "GHL" | "GMean" | "GPSTrack" | "GPSTrackRef" | "GPSValid" | "GRgain" | "GRoff" | "GSd" | "GSD" | "HDRGainCurve" | "HDRGainCurveSize" | "ID" | "IRWindowTemperature" | "IRWindowTransmission" | "Isotherm1Color" | "Isotherm2Color" | "JPEG1" | "LensPartNumber" | "LensProjection" | "LightS" | "Mean" | "Meas1Label" | "Meas1Params" | "Meas1Type" | "Meas2Label" | "Meas2Params" | "Meas2Type" | "MediaUniqueID" | "MetadataVersion" | "MotorPos" | "Offset" | "OffsetX" | "OffsetY" | "OverflowColor" | "Palette" | "PaletteColors" | "PaletteFileName" | "PaletteMethod" | "PaletteName" | "PaletteStretch" | "Param0" | "PhotoResolution" | "PicLen" | "Protect" | "Protune" | "R5100" | "Rate" | "RawThermalImage" | "RawThermalImageHeight" | "RawThermalImageType" | "RawThermalImageWidth" | "RawValueMedian" | "RawValueRange" | "RawValueRangeMax" | "RawValueRangeMin" | "Real2IR" | "ReflectedApparentTemperature" | "RelativeHumidity" | "Resolution" | "REV" | "Rgain" | "RHighLight" | "RHL" | "RMean" | "Roff" | "RSd" | "RSD" | "RStrobe" | "S0" | "SpotMeter" | "StrobeTime" | "T0" | "TagB" | "TagQ" | "TagR" | "TagS" | "ThmLen" | "UnderflowColor" | "Version" | "YLevel" | "YTarget" | "Zoom" | "ZoomPos">; export type APPTag = StrEnumKeys<typeof APPTagsNames>; /** * These are tags are derived from the values of one or more other tags. * Only a few are writable directly. * @see https://exiftool.org/TagNames/Composite.html */ export interface CompositeTags { /** ☆☆☆☆ ✔ Example: "Unknown (49 5)" */ AdvancedSceneMode?: string; /** ★★★★ ✔ Example: 90 */ Aperture?: number; /** ★☆☆☆ ✔ Example: "On" */ AutoFocus?: string; /** ☆☆☆☆ ✔ Example: "8.7 Mbps" */ AvgBitrate?: string; /** ★★☆☆ ✔ Example: 46 */ BlueBalance?: number; /** ☆☆☆☆ ✔ Example: "[Red,Green][Green,Blue]" */ CFAPattern?: string; /** ★★★★ ✔ Example: "1.030 mm" */ CircleOfConfusion?: string; /** ☆☆☆☆ ✔ Example: 0 */ ConditionalFEC?: number; /** ☆☆☆☆ ✔ Example: "On" */ ContrastDetectAF?: string; /** ☆☆☆☆ ✔ Example: "2021:03:16 18:14:25" */ DigitalCreationDateTime?: ExifDateTime | string; /** ★★☆☆ ✔ Example: "inf (9.66 m - inf)" */ DOF?: string; /** ★★☆☆ ✔ Example: "Unknown (3152)" */ DriveMode?: string; /** ☆☆☆☆ ✔ Example: "Not attached" */ ExtenderStatus?: string; /** ☆☆☆☆ ✔ Example: "Optional,TTL" */ FlashType?: string; /** ★★★★ ✔ Example: "99.7 mm (35 mm equivalent: 554.0 mm)" */ FocalLength35efl?: string; /** ★★★★ ✔ Example: "97.7 deg" */ FOV?: string; /** ☆☆☆☆ ✔ Example: "2024:04:21 04:09:51Z" */ GPSDateTime?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "7.196465 134.376806666667" */ GPSPosition?: string; /** ★★★★ ✔ Example: "Inf m" */ HyperfocalDistance?: string; /** ★★★★ ✔ Example: "8x8" */ ImageSize?: string; /** ★★☆☆ ✔ Example: "smc PENTAX-D FA 50mm F2.8 Macro" */ Lens?: string; /** ★★☆☆ ✔ Example: "9.2 - 92.0 mm (35 mm equivalent: 24.9 - 248.8 mm)" */ Lens35efl?: string; /** ★★☆☆ ✔ Example: "smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]" */ LensID?: string; /** ★★★★ ✔ Example: 9.9 */ LightValue?: number; /** ★★★★ ✔ Example: 9.5 */ Megapixels?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 512 bytes, use -b option to extract)" */ OriginalDecisionData?: BinaryField | string; /** ☆☆☆☆ Example: "9.9 um" */ PeakSpectralSensitivity?: string; /** ☆☆☆☆ ✔ Example: "On (73-point)" */ PhaseDetectAF?: string; /** ★★★☆ ✔ Example: "(Binary data 37244 bytes, use -b option to extract)" */ PreviewImage?: BinaryField; /** ★★☆☆ ✔ Example: 38.625 */ RedBalance?: number; /** ☆☆☆☆ ✔ Example: "On" */ RedEyeReduction?: string; /** ☆☆☆☆ Example: 11.2 */ RicohPitch?: number; /** ☆☆☆☆ Example: 1.59 */ RicohRoll?: number; /** ★☆☆☆ ✔ Example: "Unknown (0)" */ Rotation?: number; /** ☆☆☆☆ ✔ Example: "9:30:01" */ RunTimeSincePowerUp?: string; /** ★★★★ ✔ Example: 9.9 */ ScaleFactor35efl?: number; /** ★★☆☆ ✔ Example: "Unknown (83)" */ ShootingMode?: string; /** ☆☆☆☆ ✔ Example: "1st-curtain sync" */ ShutterCurtainHack?: string; /** ★★★★ ✔ Example: "inf" */ ShutterSpeed?: string; /** ★☆☆☆ ✔ Example: "2025:04:28 16:06:17.88+01:00" */ SubSecCreateDate?: ExifDateTime | string; /** ★☆☆☆ ✔ Example: "2025:04:28 16:06:17.88+01:00" */ SubSecDateTimeOriginal?: ExifDateTime | string; /** ☆☆☆☆ Example: */ SubSecMediaCreateDate?: ExifDateTime | string; /** ★☆☆☆ ✔ Example: "2025:04:28 16:06:17.88+01:00" */ SubSecModifyDate?: ExifDateTime | string; } export declare const CompositeTagsNames: StrEnum<"AdvancedSceneMode" | "Aperture" | "AutoFocus" | "AvgBitrate" | "BlueBalance" | "CFAPattern" | "CircleOfConfusion" | "ConditionalFEC" | "ContrastDetectAF" | "DigitalCreationDateTime" | "DOF" | "DriveMode" | "ExtenderStatus" | "FlashType" | "FocalLength35efl" | "FOV" | "GPSDateTime" | "GPSPosition" | "HyperfocalDistance" | "ImageSize" | "Lens" | "Lens35efl" | "LensID" | "LightValue" | "Megapixels" | "OriginalDecisionData" | "PeakSpectralSensitivity" | "PhaseDetectAF" | "PreviewImage" | "RedBalance" | "RedEyeReduction" | "RicohPitch" | "RicohRoll" | "Rotation" | "RunTimeSincePowerUp" | "ScaleFactor35efl" | "ShootingMode" | "ShutterCurtainHack" | "ShutterSpeed" | "SubSecCreateDate" | "SubSecDateTimeOriginal" | "SubSecMediaCreateDate" | "SubSecModifyDate">; export type CompositeTag = StrEnumKeys<typeof CompositeTagsNames>; /** * @see https://exiftool.org/TagNames/FlashPix.html */ export interface FlashPixTags { /** ☆☆☆☆ Example: "(Binary data 18 bytes, use -b option to extract)" */ AudioStream?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "Unicode UTF-16, little endian" */ CodePage?: string; /** ☆☆☆☆ ✔ Example: "Picoss" */ CreatingApplication?: string; /** ☆☆☆☆ ✔ Example: "30020010-C06F-D011-BD01-00609719A180" */ ExtensionClassID?: string; /** ☆☆☆☆ ✔ Example: "2003:03:29 17:47:50" */ ExtensionCreateDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "Presized image for LCD display" */ ExtensionDescription?: string; /** ☆☆☆☆ ✔ Example: "2003:03:29 17:47:50" */ ExtensionModifyDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "Screen nail" */ ExtensionName?: string; /** ☆☆☆☆ ✔ Example: "Invalidated By Modification" */ ExtensionPersistence?: string; /** ☆☆☆☆ ✔ Example: "(Binary data 46285 bytes, use -b option to extract)" */ ScreenNail?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 1 */ UsedExtensionNumbers?: number; } export declare const FlashPixTagsNames: StrEnum<"AudioStream" | "CodePage" | "CreatingApplication" | "ExtensionClassID" | "ExtensionCreateDate" | "ExtensionDescription" | "ExtensionModifyDate" | "ExtensionName" | "ExtensionPersistence" | "ScreenNail" | "UsedExtensionNumbers">; export type FlashPixTag = StrEnumKeys<typeof FlashPixTagsNames>; export interface JSONTags { /** ☆☆☆☆ Example: 0 */ AIScene?: number; /** ☆☆☆☆ Example: 66048 */ FilterId?: number; /** ☆☆☆☆ Example: "off" */ Hdr?: string; /** ☆☆☆☆ Example: false */ Mirror?: boolean; /** ☆☆☆☆ Example: 36864 */ OpMode?: number; /** ☆☆☆☆ Example: 1 */ ZoomMultiple?: number; } export declare const JSONTagsNames: StrEnum<"AIScene" | "FilterId" | "Hdr" | "Mirror" | "OpMode" | "ZoomMultiple">; export type JSONTag = StrEnumKeys<typeof JSONTagsNames>; export interface MPFTags { /** ★★☆☆ ✔ Example: 9697 */ DependentImage1EntryNumber?: number; /** ★★☆☆ ✔ Example: 960 */ DependentImage2EntryNumber?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 66 bytes, use -b option to extract)" */ ImageUIDList?: BinaryField | string; /** ★★☆☆ ✔ Example: "0100" */ MPFVersion?: string; /** ★★☆☆ ✔ Example: "Representative image, Dependent parent image" */ MPImageFlags?: string; /** ★★☆☆ ✔ Example: "Unknown (4)" */ MPImageFormat?: string; /** ★★☆☆ ✔ Example: 999325 */ MPImageLength?: number; /** ★★☆☆ ✔ Example: 9999872 */ MPImageStart?: number; /** ★★☆☆ ✔ Example: "Undefined" */ MPImageType?: string; /** ★★☆☆ ✔ Example: 3 */ NumberOfImages?: number; /** ☆☆☆☆ ✔ Example: 1 */ TotalFrames?: number; } export declare const MPFTagsNames: StrEnum<"DependentImage1EntryNumber" | "DependentImage2EntryNumber" | "ImageUIDList" | "MPFVersion" | "MPImageFlags" | "MPImageFormat" | "MPImageLength" | "MPImageStart" | "MPImageType" | "NumberOfImages" | "TotalFrames">; export type MPFTag = StrEnumKeys<typeof MPFTagsNames>; /** * @see https://exiftool.org/TagNames/EXIF.html */ export interface EXIFTags { /** ☆☆☆☆ ✔ Example: 988517 */ Acceleration?: number; /** ☆☆☆☆ ✔ Example: 0 */ AntiAliasStrength?: number; /** ★★★☆ ✔ Example: 9016997700 */ ApertureValue?: number; /** ★☆☆☆ ✔ Example: "Arturo DeImage" */ Artist?: string; /** ☆☆☆☆ ✔ Example: "0.8326394671 1.012145749 0.3512469266" */ AsShotNeutral?: string; /** ☆☆☆☆ ✔ Example: -0.6566481 */ BaselineExposure?: number; /** ☆☆☆☆ ✔ Example: "94 95 93 93" */ BlackLevel?: string; /** ☆☆☆☆ ✔ Example: 130 */ BlackLevelBlue?: number; /** ☆☆☆☆ ✔ Example: 130 */ BlackLevelGreen?: number; /** ☆☆☆☆ ✔ Example: 130 */ BlackLevelRed?: number; /** ☆☆☆☆ ✔ Example: "1 1" */ BlackLevelRepeatDim?: string; /** ★★★☆ ✔ Example: 9.9919505 */ BrightnessValue?: number; /** ☆☆☆☆ Example: 6.1 */ CameraElevationAngle?: number; /** ☆☆☆☆ ✔ Example: "Red,Green,Blue" */ CFAPlaneColor?: string; /** ☆☆☆☆ ✔ Example: "2 2" */ CFARepeatPatternDim?: string; /** ☆☆☆☆ ✔ Example: "On" */ ChromaticAberrationCorrection?: string; /** ★★★★ ✔ Example: "sRGB" */ ColorSpace?: string; /** ☆☆☆☆ ✔ Example: "Unknown" */ CompositeImage?: string; /** ★★★★ ✔ Example: 90 */ CompressedBitsPerPixel?: number; /** ★★★★ ✔ Example: "n/a" */ Contrast?: string; /** ★★★☆ ✔ Example: "© Chuckles McSnortypants, Inc." */ Copyright?: string; /** ★★★★ ✔ Example: "2218:09:22 02:32:14" */ CreateDate?: ExifDateTime | ExifDate | string | number; /** ★★★★ ✔ Example: "Unknown (Custom process)" */ CustomRendered?: string; /** ★★★★ ✔ Example: "2218:09:22 02:32:14" */ DateTimeOriginal?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "8 8" */ DefaultCropOrigin?: string; /** ☆☆☆☆ ✔ Example: "8272 6200" */ DefaultCropSize?: string; /** ☆☆☆☆ ✔ Example: "(Binary data 0 bytes, use -b option to extract)" */ DeviceSettingDescription?: BinaryField | string; /** ★★★☆ ✔ Example: 8.1319764 */ DigitalZoomRatio?: number; /** ☆☆☆☆ ✔ Example: "1.3.0.0" */ DNGBackwardVersion?: string; /** ☆☆☆☆ ✔ Example: "1.4.0.0" */ DNGVersion?: string; /** ☆☆☆☆ Example: "" */ DocumentName?: string; /** ★★★★ ✔ Example: 990 */ ExifImageHeight?: number; /** ★★★★ ✔ Example: 999 */ ExifImageWidth?: number; /** ★☆☆☆ ✔ Example: 83 */ ExposureIndex?: number; /** ★★★★ ✔ Example: "Unknown (Auto exposure)" */ ExposureMode?: string; /** ★★★★ ✔ Example: "iAuto+" */ ExposureProgram?: string; /** ★★★★ ✔ Example: "inf" */ ExposureTime?: string; /** ★★★★ ✔ Example: "Unknown (DSC)" */ FileSource?: string; /** ★★★★ ✔ Example: "Unknown (0xffff)" */ Flash?: string; /** ☆☆☆☆ ✔ Example: 54 */ FlashEnergy?: number; /** ★★★★ ✔ Example: 90 */ FNumber?: number; /** ★★★★ ✔ Example: "99.7 mm" */ FocalLength?: string; /** ★★★☆ ✔ Example: "9920 mm" */ FocalLengthIn35mmFormat?: string; /** ★★★☆ ✔ Example: "um" */ FocalPlaneResolutionUnit?: string; /** ★★★☆ ✔ Example: 9941.7476 */ FocalPlaneXResolution?: number; /** ★★★☆ ✔ Example: 9846.1538 */ FocalPlaneYResolution?: number; /** ★★★☆ ✔ Example: "Unknown (8176)" */ GainControl?: string; /** ☆☆☆☆ ✔ Example: 2.4921875 */ Gamma?: number; /** ★☆☆☆ ✔ Example: 99.8 */ GPSAltitude?: number; /** ☆☆☆☆ ✔ Example: "Unknown (Sea level reference)" */ GPSAltitudeRef?: string; /** ☆☆☆☆ ✔ Example: "府中市郷土の森博物館" */ GPSAreaInformation?: string; /** ☆☆☆☆ ✔ Example: "2024:04:21" */ GPSDateStamp?: ExifDate | string; /** ☆☆☆☆ ✔ Example: 86.180049 */ GPSDestBearing?: number; /** ☆☆☆☆ ✔ Example: "Unknown ()" */ GPSDestBearingRef?: string; /** ☆☆☆☆ ✔ Example: 0.030120052 */ GPSDestDistance?: number; /** ☆☆☆☆ ✔ Example: "Kilometers" */ GPSDestDistanceRef?: string; /** ☆☆☆☆ ✔ Example: "43 deg 37' 59.61" N" */ GPSDestLatitude?: string; /** ☆☆☆☆ ✔ Example: "North" */ GPSDestLatitudeRef?: string; /** ☆☆☆☆ ✔ Example: "80 deg 23' 16.31" W" */ GPSDestLongitude?: string; /** ☆☆☆☆ ✔ Example: "West" */ GPSDestLongitudeRef?: string; /** ☆☆☆☆ ✔ Example: "No Correction" */ GPSDifferential?: string; /** ☆☆☆☆ ✔ Example: 9 */ GPSDOP?: number; /** ☆☆☆☆ ✔ Example: "8.937059922 m" */ GPSHPositioningError?: string; /** ☆☆☆☆ ✔ Example: 94.800416 */ GPSImgDirection?: number; /** ☆☆☆☆ ✔ Example: "Unknown ()" */ GPSImgDirectionRef?: string; /** ★☆☆☆ ✔ Example: 48.857748 */ GPSLatitude?: number | string; /** ☆☆☆☆ ✔ Example: "Unknown ()" */ GPSLatitudeRef?: string; /** ★☆☆☆ ✔ Example: 2.2918888 */ GPSLongitude?: number | string; /** ☆☆☆☆ ✔ Example: "West" */ GPSLongitudeRef?: string; /** ☆☆☆☆ ✔ Example: "WGS84" */ GPSMapDatum?: string; /** ☆☆☆☆ ✔ Example: "Unknown ()" */ GPSMeasureMode?: string; /** ☆☆☆☆ ✔ Example: "gps" */ GPSProcessingMethod?: string; /** ☆☆☆☆ ✔ Example: "??B??" */ GPSSatellites?: string; /** ☆☆☆☆ ✔ Example: 5 */ GPSSpeed?: number; /** ☆☆☆☆ ✔ Example: "knots" */ GPSSpeedRef?: string; /** ☆☆☆☆ ✔ Example: "Unknown ()" */ GPSStatus?: string; /** ☆☆☆☆ ✔ Example: "23:59:41.001" */ GPSTimeStamp?: ExifTime | string; /** ★☆☆☆ ✔ Example: "50.51.48.48" */ GPSVersionID?: string; /** ☆☆☆☆ ✔ Example: 1 */ HighISOMultiplierBlue?: number; /** ☆☆☆☆ ✔ Example: 1 */ HighISOMultiplierGreen?: number; /** ☆☆☆☆ ✔ Example: 1 */ HighISOMultiplierRed?: number; /** ☆☆☆☆ ✔ Example: "iPhone 15 Plus" */ HostComputer?: string; /** ★★★☆ ✔ Example: "untitled" */ ImageDescription?: string; /** ☆☆☆☆ Example: 0 */ ImageTitle?: number; /** ★★★★ ✔ Example: "Unknown ([None])" */ InteropIndex?: string; /** ★★★★ ✔ Example: "undef undef undef" */ InteropVersion?: string; /** ★★★★ ✔ Example: 993 */ ISO?: number; /** ☆☆☆☆ ✔ Example: 80 */ ISOSpeed?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 532480 bytes, use -b option to extract)" */ JpgFromRaw?: BinaryField; /** ☆☆☆☆ ✔ Example: 845574 */ JpgFromRawLength?: number; /** ☆☆☆☆ ✔ Example: 978944 */ JpgFromRawStart?: number; /** ★☆☆☆ ✔ Example: "?mm f/?" */ LensInfo?: string; /** ☆☆☆☆ ✔ Example: "ZEISS" */ LensMake?: string; /** ★★☆☆ ✔ Example: "smc PENTAX-D FA 50mm F2.8 Macro" */ LensModel?: string; /** ★☆☆☆ ✔ Example: "xB?" */ LensSerialNumber?: string; /** ★★★★ ✔ Example: "White Fluorescent" */ LightSource?: string; /** ☆☆☆☆ ✔ Example: 4095 */ LinearityLimitBlue?: number; /** ☆☆☆☆ ✔ Example: 4095 */ LinearityLimitGreen?: number; /** ☆☆☆☆ ✔ Example: 4095 */ LinearityLimitRed?: number; /** ★★★★ ✔ Example: "samsung" */ Make?: string; /** ☆☆☆☆ ✔ Example: "(Binary data 3072 bytes, use -b option to extract)" */ MakerNoteSamsung1a?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "(Binary data 66 bytes, use -b option to extract)" */ MakerNoteUnknownBinary?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "}:-" */ MakerNoteUnknownText?: string; /** ★★★★ ✔ Example: 9.1 */ MaxApertureValue?: number; /** ★★★★ ✔ Example: "Unknown (Center-weighted average)" */ MeteringMode?: string; /** ★★★★ ✔ Example: "x530" */ Model?: string; /** ☆☆☆☆ ✔ Example: "K520C-01044" */ Model2?: string; /** ★★★★ ✔ Example: "2216:02:28 03:49:50" */ ModifyDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: 6 */ Noise?: number; /** ☆☆☆☆ ✔ Example: "0.00627371 0.0011865" */ NoiseProfile?: string; /** ☆☆☆☆ ✔ Example: "5 100 4 4 4 200 8 8 8 400 16 16 16 800 32 32 32 1600 64 64 64" */ NoiseReductionParams?: string; /** ☆☆☆☆ ✔ Example: 58 */ OffsetSchema?: number; /** ☆☆☆☆ ✔ Example: "-09:00" */ OffsetTime?: string; /** ☆☆☆☆ ✔ Example: "-09:00" */ OffsetTimeDigitized?: string; /** ☆☆☆☆ ✔ Example: "-09:00" */ OffsetTimeOriginal?: string; /** ★★★★ ✔ Example: 8 */ Orientation?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 4798 bytes, use -b option to extract)" */ OtherImage?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 941265 */ OtherImageLength?: number; /** ☆☆☆☆ ✔ Example: 755 */ OtherImageStart?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 2060 bytes, use -b option to extract)" */ Padding?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "Reflective" */ PageName?: string; /** ☆☆☆☆ ✔ Example: "0350" */ PanasonicRawVersion?: string; /** ☆☆☆☆ Example: 0 */ Photographer?: number; /** ☆☆☆☆ ✔ Example: "YCbCr" */ PhotometricInterpretation?: string; /** ☆☆☆☆ ✔ Example: "Chunky" */ PlanarConfiguration?: string; /** ☆☆☆☆ ✔ Example: 1022 */ Pressure?: number; /** ☆☆☆☆ ✔ Example: "2015:06:02 09:56:01" */ PreviewDateTime?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "(Binary data 4665816 bytes, use -b option to extract)" */ PreviewTIFF?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "0.64 0.33 0.3 0.6 0.15 0.06" */ PrimaryChromaticities?: string; /** ☆☆☆☆ ✔ Example: "https://PhotoStructure.com/" */ ProcessingSoftware?: string; /** ☆☆☆☆ ✔ Example: 928768 */ RawDataOffset?: number; /** ☆☆☆☆ ✔ Example: "30353330394431333030303032383242" */ RawDataUniqueID?: string; /** ☆☆☆☆ ✔ Example: 4 */ RawFormat?: number; /** ☆☆☆☆ ✔ Example: "3 1440 1440" */ RawImageSegmentation?: string; /** ☆☆☆☆ ✔ Example: 800 */ RecommendedExposureIndex?: number; /** ☆☆☆☆ ✔ Example: "0 255 128 255 128 255" */ ReferenceBlackWhite?: string; /** ☆☆☆☆ Example: "JPEG Exif Ver 2.2" */ RelatedImageFileFormat?: string; /** ★★☆☆ ✔ Example: 960 */ RelatedImageHeight?: number; /** ★★☆☆ ✔ Example: 800 */ RelatedImageWidth?: number; /** ☆☆☆☆ ✔ Example: "xxx.avi" */ RelatedSoundFile?: string; /** ★★★★ ✔ Example: "inches" */ ResolutionUnit?: string; /** ☆☆☆☆ ✔ Example: 96 */ RowsPerStrip?: number; /** ☆☆☆☆ ✔ Example: 3 */ SamplesPerPixel?: number; /** ★★★★ ✔ Example: "n/a" */ Saturation?: string; /** ★★★★ ✔ Example: "Unknown (Standard)" */ SceneCaptureType?: string; /** ★★★★ ✔ Example: "Unknown (Directly photographed)" */ SceneType?: string; /** ★★★☆ ✔ Example: "Unknown (One-chip color area sensor)" */ SensingMethod?: string; /** ★★☆☆ ✔ Example: "Unknown" */ SensitivityType?: string; /** ★★★★ ✔ Example: "n/a" */ Sharpness?: string; /** ★★★☆ ✔ Example: "1/999963365" */ ShutterSpeedValue?: string; /** ★★★★ ✔ Example: "https://PhotoStructure.com/" */ Software?: string; /** ☆☆☆☆ ✔ Example: "Sony Uncompressed 12-bit RAW" */ SonyRawFileType?: string; /** ☆☆☆☆ ✔ Example: "8000 10400 12900 14100" */ SonyToneCurve?: string; /** ☆☆☆☆ ✔ Example: 668058300 */ SpatialFrequencyResponse?: number; /** ☆☆☆☆ ✔ Example: 4 */ SRawType?: number; /** ☆☆☆☆ ✔ Example: 800 */ StandardOutputSensitivity?: number; /** ☆☆☆☆ ✔ Example: 9600 */ StripByteCounts?: number; /** ☆☆☆☆ ✔ Example: 986 */ StripOffsets?: number; /** ☆☆☆☆ ✔ Example: "Reduced-resolution image" */ SubfileType?: string; /** ☆☆☆☆ ✔ Example: "967 967 1425 851" */ SubjectArea?: string; /** ☆☆☆☆ ✔ Example: "99.99 m" */ SubjectDistance?: string; /** ★★★☆ ✔ Example: "Unknown (Macro)" */ SubjectDistanceRange?: string; /** ☆☆☆☆ ✔ Example: 1 */ SubjectLocation?: number; /** ★☆☆☆ ✔ Example: 996 */ SubSecTime?: number; /** ★☆☆☆ ✔ Example: 996 */ SubSecTimeDigitized?: number; /** ★☆☆☆ ✔ Example: 999 */ SubSecTimeOriginal?: number; /** ★★★★ ✔ Example: "(Binary data 39781 bytes, use -b option to extract)" */ ThumbnailImage?: BinaryField; /** ★★★★ ✔ Example: 9998 */ ThumbnailLength?: number; /** ★★★★ ✔ Example: 998 */ ThumbnailOffset?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 57816 bytes, use -b option to extract)" */ ThumbnailTIFF?: BinaryField; /** ☆☆☆☆ ✔ Example: "(Binary data 447 bytes, use -b option to extract)" */ TileByteCounts?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 512 */ TileLength?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 508 bytes, use -b option to extract)" */ TileOffsets?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 512 */ TileWidth?: number; /** ☆☆☆☆ ✔ Example: 1 */ TimeZoneOffset?: number | string; /** ☆☆☆☆ ✔ Example: "(Binary data 3636 bytes, use -b option to extract)" */ TransferFunction?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "motorola XT1254" */ UniqueCameraModel?: string; /** ★★★☆ ✔ Example: "This is a comment." */ UserComment?: string; /** ☆☆☆☆ ✔ Example: 0.1 */ WaterDepth?: number; /** ★★★★ ✔ Example: "White Preset" */ WhiteBalance?: string; /** ☆☆☆☆ ✔ Example: 65535 */ WhiteLevel?: number; /** ☆☆☆☆ ✔ Example: "9696 8192 8192 7136" */ WhitePoint?: string; /** ☆☆☆☆ Example: "Redmi 9T" */ XiaomiModel?: string; /** ☆☆☆☆ ✔ Example: "Norm De Plume" */ XPAuthor?: string; /** ☆☆☆☆ ✔ Example: "This is a comment." */ XPComment?: string; /** ☆☆☆☆ ✔ Example: "v01.40.0002;0.0.1;v1.0.0" */ XPKeywords?: string; /** ☆☆☆☆ ✔ Example: "image thermique, thermal image" */ XPSubject?: string; /** ☆☆☆☆ ✔ Example: "楆慮敤琠牡敤攠汉慨䈠汥Ⅱ" */ XPTitle?: string; /** ★★★★ ✔ Example: 99 */ XResolution?: number; /** ☆☆☆☆ ✔ Example: "0.299 0.587 0.114" */ YCbCrCoefficients?: string; /** ★★★★ ✔ Example: "Unknown (512)" */ YCbCrPositioning?: string; /** ★★★★ ✔ Example: 99 */ YResolution?: number; } export declare const EXIFTagsNames: StrEnum<"Acceleration" | "AntiAliasStrength" | "ApertureValue" | "Artist" | "AsShotNeutral" | "BaselineExposure" | "BlackLevel" | "BlackLevelBlue" | "BlackLevelGreen" | "BlackLevelRed" | "BlackLevelRepeatDim" | "BrightnessValue" | "CameraElevationAngle" | "CFAPlaneColor" | "CFARepeatPatternDim" | "ChromaticAberrationCorrection" | "ColorSpace" | "CompositeImage" | "CompressedBitsPerPixel" | "Contrast" | "Copyright" | "CreateDate" | "CustomRendered" | "DateTimeOriginal" | "DefaultCropOrigin" | "DefaultCropSize" | "DeviceSettingDescription" | "DigitalZoomRatio" | "DNGBackwardVersion" | "DNGVersion" | "DocumentName" | "ExifImageHeight" | "ExifImageWidth" | "ExposureIndex" | "ExposureMode" | "ExposureProgram" | "ExposureTime" | "FileSource" | "Flash" | "FlashEnergy" | "FNumber" | "FocalLength" | "FocalLengthIn35mmFormat" | "FocalPlaneResolutionUnit" | "FocalPlaneXResolution" | "FocalPlaneYResolution" | "GainControl" | "Gamma" | "GPSAltitude" | "GPSAltitudeRef" | "GPSAreaInformation" | "GPSDateStamp" | "GPSDestBearing" | "GPSDestBearingRef" | "GPSDestDistance" | "GPSDestDistanceRef" | "GPSDestLatitude" | "GPSDestLatitudeRef" | "GPSDestLongitude" | "GPSDestLongitudeRef" | "GPSDifferential" | "GPSDOP" | "GPSHPositioningError" | "GPSImgDirection" | "GPSImgDirectionRef" | "GPSLatitude" | "GPSLatitudeRef" | "GPSLongitude" | "GPSLongitudeRef" | "GPSMapDatum" | "GPSMeasureMode" | "GPSProcessingMethod" | "GPSSatellites" | "GPSSpeed" | "GPSSpeedRef" | "GPSStatus" | "GPSTimeStamp" | "GPSVersionID" | "HighISOMultiplierBlue" | "HighISOMultiplierGreen" | "HighISOMultiplierRed" | "HostComputer" | "ImageDescription" | "ImageTitle" | "InteropIndex" | "InteropVersion" | "ISO" | "ISOSpeed" | "JpgFromRaw" | "JpgFromRawLength" | "JpgFromRawStart" | "LensInfo" | "LensMake" | "LensModel" | "LensSerialNumber" | "LightSource" | "LinearityLimitBlue" | "LinearityLimitGreen" | "LinearityLimitRed" | "Make" | "MakerNoteSamsung1a" | "MakerNoteUnknownBinary" | "MakerNoteUnknownText" | "MaxApertureValue" | "MeteringMode" | "Model" | "Model2" | "ModifyDate" | "Noise" | "NoiseProfile" | "NoiseReductionParams" | "OffsetSchema" | "OffsetTime" | "OffsetTimeDigitized" | "OffsetTimeOriginal" | "Orientation" | "OtherImage" | "OtherImageLength" | "OtherImageStart" | "Padding" | "PageName" | "PanasonicRawVersion" | "Photographer" | "PhotometricInterpretation" | "PlanarConfiguration" | "Pressure" | "PreviewDateTime" | "PreviewTIFF" | "PrimaryChromaticities" | "ProcessingSoftware" | "RawDataOffset" | "RawDataUniqueID" | "RawFormat" | "RawImageSegmentation" | "RecommendedExposureIndex" | "ReferenceBlackWhite" | "RelatedImageFileFormat" | "RelatedImageHeight" | "RelatedImageWidth" | "RelatedSoundFile" | "ResolutionUnit" | "RowsPerStrip" | "SamplesPerPixel" | "Saturation" | "SceneCaptureType" | "SceneType" | "SensingMethod" | "SensitivityType" | "Sharpness" | "ShutterSpeedValue" | "Software" | "SonyRawFileType" | "SonyToneCurve" | "SpatialFrequencyResponse" | "SRawType" | "StandardOutputSensitivity" | "StripByteCounts" | "StripOffsets" | "SubfileType" | "SubjectArea" | "SubjectDistance" | "SubjectDistanceRange" | "SubjectLocation" | "SubSecTime" | "SubSecTimeDigitized" | "SubSecTimeOriginal" | "ThumbnailImage" | "ThumbnailLength" | "ThumbnailOffset" | "ThumbnailTIFF" | "TileByteCounts" | "TileLength" | "TileOffsets" | "TileWidth" | "TimeZoneOffset" | "TransferFunction" | "UniqueCameraModel" | "UserComment" | "WaterDepth" | "WhiteBalance" | "WhiteLevel" | "WhitePoint" | "XiaomiModel" | "XPAuthor" | "XPComment" | "XPKeywords" | "XPSubject" | "XPTitle" | "XResolution" | "YCbCrCoefficients" | "YCbCrPositioning" | "YResolution">; export type EXIFTag = StrEnumKeys<typeof EXIFTagsNames>; export interface MetaTags { /** ☆☆☆☆ Example: 1 */ BorderID?: number; /** ☆☆☆☆ Example: 0 */ BorderLocation?: number; /** ☆☆☆☆ Example: "None" */ BorderName?: string; /** ☆☆☆☆ Example: "1 0 0 0" */ BordersVersion?: string; /** ☆☆☆☆ Example: 0 */ BorderType?: number; /** ☆☆☆☆ Example: "KODAK DC5000 ZOOM DIGITAL CAMERA" */ CameraOwner?: string; /** ☆☆☆☆ Example: 1 */ CaptureConditionsPAR?: number; /** ☆☆☆☆ Example: "None" */ DigitalEffectsName?: string; /** ☆☆☆☆ Example: 0 */ DigitalEffectsType?: number; /** ☆☆☆☆ Example: "1 0 0 0" */ DigitalEffectsVersion?: string; /** ☆☆☆☆ Example: 1 */ EditTagArray?: number; /** ☆☆☆☆ Example: 2 */ FilmGencode?: number; /** ☆☆☆☆ Example: 43 */ FilmProductCode?: number; /** ☆☆☆☆ Example: 1 */ FilmSize?: number; /** ☆☆☆☆ Example: 6 */ ImageSourceEK?: number; /** ☆☆☆☆ ✔ Example: "0110" */ MetadataNumber?: string; /** ☆☆☆☆ Example: "Version 9" */ ModelAndVersion?: string; /** ☆☆☆☆ Example: 3 */ WatermarkType?: number; } export declare const MetaTagsNames: StrEnum<"BorderID" | "BorderLocation" | "BorderName" | "BordersVersion" | "BorderType" | "CameraOwner" | "CaptureConditionsPAR" | "DigitalEffectsName" | "DigitalEffectsType" | "DigitalEffectsVersion" | "EditTagArray" | "FilmGencode" | "FilmProductCode" | "FilmSize" | "ImageSourceEK" | "MetadataNumber" | "ModelAndVersion" | "WatermarkType">; export type MetaTag = StrEnumKeys<typeof MetaTagsNames>; export interface PanasonicRawTags { /** ☆☆☆☆ ✔ Example: 1 */ DistortionScale?: number; /** ☆☆☆☆ ✔ Example: 7 */ NumWBEntries?: number; } export declare const PanasonicRawTagsNames: StrEnum<"DistortionScale" | "NumWBEntries">; export type PanasonicRawTag = StrEnumKeys<typeof PanasonicRawTagsNames>; /** * @see https://exiftool.org/TagNames/Photoshop.html */ export interface PhotoshopTags { /** ☆☆☆☆ ✔ Example: true */ CopyrightFlag?: boolean; /** ☆☆☆☆ ✔ Example: "inches" */ DisplayedUnitsX?: string; /** ☆☆☆☆ ✔ Example: "inches" */ DisplayedUnitsY?: string; /** ☆☆☆☆ ✔ Example: 30 */ GlobalAltitude?: number; /** ☆☆☆☆ ✔ Example: 90 */ GlobalAngle?: number; /** ☆☆☆☆ ✔ Example: "Yes" */ HasRealMergedData?: string; /** ☆☆☆☆ ✔ Example: "fd826cdf97ac15335b426a20d23c1041" */ IPTCDigest?: string; /** ☆☆☆☆ ✔ Example: 1 */ NumSlices?: number; /** ☆☆☆☆ ✔ Example: "Standard" */ PhotoshopFormat?: string; /** ☆☆☆☆ ✔ Example: 9 */ PhotoshopQuality?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 5768 bytes, use -b option to extract)" */ PhotoshopThumbnail?: BinaryField | string; /** ☆☆☆☆ ✔ Example: "0 0" */ PrintPosition?: string; /** ☆☆☆☆ ✔ Example: 1 */ PrintScale?: number; /** ☆☆☆☆ ✔ Example: "Centered" */ PrintStyle?: string; /** ☆☆☆☆ ✔ Example: "Adobe Photoshop CS" */ ReaderName?: string; /** ☆☆☆☆ ✔ Example: "panasonic_lumix_dmc_lx15_02" */ SlicesGroupName?: string; /** ☆☆☆☆ ✔ Example: "Adobe Photoshop" */ WriterName?: string; } export declare const PhotoshopTagsNames: StrEnum<"CopyrightFlag" | "DisplayedUnitsX" | "DisplayedUnitsY" | "GlobalAltitude" | "GlobalAngle" | "HasRealMergedData" | "IPTCDigest" | "NumSlices" | "PhotoshopFormat" | "PhotoshopQuality" | "PhotoshopThumbnail" | "PrintPosition" | "PrintScale" | "PrintStyle" | "ReaderName" | "SlicesGroupName" | "WriterName">; export type PhotoshopTag = StrEnumKeys<typeof PhotoshopTagsNames>; export interface PrintIMTags { /** ★★★☆ ✔ Example: "0300" */ PrintIMVersion?: string; } export declare const PrintIMTagsNames: StrEnum<"PrintIMVersion">; export type PrintIMTag = StrEnumKeys<typeof PrintIMTagsNames>; export interface QuickTimeTags { /** ☆☆☆☆ ✔ Example: 60 */ AndroidCaptureFPS?: number; /** ☆☆☆☆ ✔ Example: 7.1 */ AndroidVersion?: number; /** ☆☆☆☆ ✔ Example: "(Binary data 4 bytes, use -b option to extract)" */ AndroidVideoTemporalLayersCount?: BinaryField | string; /** ☆☆☆☆ ✔ Example: 8 */ AudioBitsPerSample?: number; /** ☆☆☆☆ ✔ Example: 3 */ AudioChannels?: number; /** ☆☆☆☆ ✔ Example: "sowt" */ AudioFormat?: string; /** ☆☆☆☆ ✔ Example: 8000 */ AudioSampleRate?: number; /** ☆☆☆☆ ✔ Example: "Panasonic" */ AudioVendorID?: string; /** ☆☆☆☆ ✔ Example: "Norm De Plume" */ Author?: string; /** ☆☆☆☆ ✔ Example: "65535 65535 65535" */ BackgroundColor?: string; /** ☆☆☆☆ ✔ Example: 0 */ Balance?: number; /** ☆☆☆☆ ✔ Example: 8 */ BitDepth?: number; /** ☆☆☆☆ ✔ Example: 0 */ ChapterListTrackID?: number; /** ☆☆☆☆ ✔ Example: "3840x2160" */ CleanApertureDimensions?: string; /** ☆☆☆☆ ✔ Example: "BT.709" */ ColorPrimaries?: string; /** ☆☆☆☆ ✔ Example: "nclx" */ ColorProfiles?: string; /** ☆☆☆☆ ✔ Example: ["qt "] */ CompatibleBrands?: string[]; /** ☆☆☆☆ ✔ Example: "jpeg" */ CompressorID?: string; /** ☆☆☆☆ ✔ Example: "Photo - JPEG" */ CompressorName?: string; /** ☆☆☆☆ ✔ Example: "Track 1" */ ContentDescribes?: string; /** ☆☆☆☆ ✔ Example: "2023:06:11 14:30:35+01:00" */ CreationDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "0 s" */ CurrentTime?: string; /** ☆☆☆☆ ✔ Example: 9.5095 */ Duration?: number; /** ☆☆☆☆ ✔ Example: "3840x2160" */ EncodedPixelsDimensions?: string; /** ☆☆☆☆ ✔ Example: "Helvetica" */ FontName?: string; /** ☆☆☆☆ ✔ Example: 0 */ GenBalance?: number; /** ☆☆☆☆ ✔ Example: "0 0 0" */ GenFlags?: string; /** ☆☆☆☆ ✔ Example: "ditherCopy" */ GenGraphicsMode?: string; /** ☆☆☆☆ ✔ Example: 0 */ GenMediaVersion?: number; /** ☆☆☆☆ ✔ Example: "32768 32768 32768" */ GenOpColor?: string; /** ☆☆☆☆ ✔ Example: "51 deg 6' 13.32" N, 0 deg 52' 23.52" W, 99.22 m Above Sea Level" */ GPSCoordinates?: string; /** ☆☆☆☆ ✔ Example: "srcCopy" */ GraphicsMode?: string; /** ☆☆☆☆ ✔ Example: "Data Handler" */ HandlerClass?: string; /** ☆☆☆☆ ✔ Example: "SoundHandle" */ HandlerDescription?: string; /** ☆☆☆☆ ✔ Example: "Metadata Tags" */ HandlerType?: string; /** ☆☆☆☆ ✔ Example: "Panasonic" */ HandlerVendorID?: string; /** ☆☆☆☆ ✔ Example: 4.798027 */ LocationAccuracyHorizontal?: number; /** ☆☆☆☆ ✔ Example: "MP4 v2 [ISO 14496-14]" */ MajorBrand?: string; /** ☆☆☆☆ ✔ Example: "BT.709" */ MatrixCoefficients?: string; /** ☆☆☆☆ ✔ Example: "1 0 0 0 1 0 0 0 1" */ MatrixStructure?: string; /** ☆☆☆☆ ✔ Example: "2023:06:11 13:30:35" */ MediaCreateDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: 98304 */ MediaDataOffset?: number; /** ☆☆☆☆ ✔ Example: 9790496 */ MediaDataSize?: number; /** ☆☆☆☆ ✔ Example: 9.52 */ MediaDuration?: number; /** ☆☆☆☆ ✔ Example: 0 */ MediaHeaderVersion?: number; /** ☆☆☆☆ ✔ Example: "und" */ MediaLanguageCode?: string; /** ☆☆☆☆ ✔ Example: "2023:06:11 13:30:46" */ MediaModifyDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: 8000 */ MediaTimeScale?: number; /** ☆☆☆☆ ✔ Example: "583d47d07afe1fbcfa0894d17e66051f07e1230a0000072550c3000000000000" */ MediaUID?: string; /** ☆☆☆☆ ✔ Example: "mebx" */ MetaFormat?: string; /** ☆☆☆☆ ✔ Example: "2011.7.0" */ MinorVersion?: string; /** ☆☆☆☆ ✔ Example: 0 */ MovieHeaderVersion?: number; /** ☆☆☆☆ ✔ Example: 6 */ NextTrackID?: number; /** ☆☆☆☆ ✔ Example: "32768 32768 32768" */ OpColor?: string; /** ☆☆☆☆ ✔ Example: "tmcd" */ OtherFormat?: string; /** ☆☆☆☆ ✔ Example: 59.94006 */ PlaybackFrameRate?: number; /** ☆☆☆☆ ✔ Example: "SEQ_PLAY" */ PlayMode?: string; /** ☆☆☆☆ ✔ Example: "0 s" */ PosterTime?: string; /** ☆☆☆☆ ✔ Example: 1 */ PreferredRate?: number; /** ☆☆☆☆ ✔ Example: "99.61%" */ PreferredVolume?: string; /** ☆☆☆☆ ✔ Example: 0 */ PreviewDuration?: number; /** ☆☆☆☆ ✔ Example: "0 s" */ PreviewTime?: string; /** ☆☆☆☆ ✔ Example: "3840x2160" */ ProductionApertureDimensions?: string; /** ☆☆☆☆ ✔ Example: "mp4a" */ PurchaseFileFormat?: string; /** ☆☆☆☆ ✔ Example: 0 */ SelectionDuration?: number; /** ☆☆☆☆ ✔ Example: "0 s" */ SelectionTime?: string; /** ☆☆☆☆ ✔ Example: "43333139313032343731363032300000" */ SerialNumberHash?: string; /** ☆☆☆☆ ✔ Example: 720 */ SourceImageHeight?: number; /** ☆☆☆☆ ✔ Example: 640 */ SourceImageWidth?: number; /** ☆☆☆☆ ✔ Example: "0 0 0" */ TextColor?: string; /** ☆☆☆☆ ✔ Example: "Plain" */ TextFace?: string; /** ☆☆☆☆ ✔ Example: "Unknown (21)" */ TextFont?: string; /** ☆☆☆☆ ✔ Example: 10 */ TextSize?: number; /** ☆☆☆☆ ✔ Example: 3 */ TimecodeTrack?: number; /** ☆☆☆☆ ✔ Example: 90000 */ TimeScale?: number; /** ☆☆☆☆ ✔ Example: "2023:06:11 13:30:35" */ TrackCreateDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: 9.5095 */ TrackDuration?: number; /** ☆☆☆☆ ✔ Example: 0 */ TrackHeaderVersion?: number; /** ☆☆☆☆ ✔ Example: 1 */ TrackID?: number; /** ☆☆☆☆ ✔ Example: 0 */ TrackLayer?: number; /** ☆☆☆☆ ✔ Example: "2023:06:11 13:30:46" */ TrackModifyDate?: ExifDateTime | string; /** ☆☆☆☆ ✔ Example: "0.00%" */ TrackVolume?: string; /** ☆☆☆☆ ✔ Example: "BT.709" */ TransferCharacteristics?: string; /** ☆☆☆☆ ✔ Example: "Panasonic" */ VendorID?: string; /** ☆☆☆☆ ✔ Example: "n/a" */ VideoFrameRate?: string; /** ☆☆☆☆ ✔ Example: "Limited" */ VideoFullRangeFlag?: string; } export declare const QuickTimeTagsNames: StrEnum<"AndroidCaptureFPS" | "AndroidVersion" | "AndroidVideoTemporalLayersCount" | "AudioBitsPerSample" | "AudioChannels" | "AudioFormat" | "AudioSampleRate" | "AudioVendorID" | "Author" | "BackgroundColo