exiftool-vendored 29.0.0 → 29.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -9
- package/README.md +22 -22
- package/dist/Array.d.ts +4 -4
- package/dist/Array.js +8 -10
- package/dist/Array.js.map +1 -1
- package/dist/AsyncRetry.js.map +1 -1
- package/dist/BinaryExtractionTask.d.ts +4 -2
- package/dist/BinaryExtractionTask.js +16 -5
- package/dist/BinaryExtractionTask.js.map +1 -1
- package/dist/BinaryField.js.map +1 -1
- package/dist/BinaryToBufferTask.js.map +1 -1
- package/dist/Boolean.d.ts +1 -1
- package/dist/Boolean.js.map +1 -1
- package/dist/CapturedAtTagNames.js.map +1 -1
- package/dist/CoordinateParser.d.ts +27 -6
- package/dist/CoordinateParser.js +128 -27
- package/dist/CoordinateParser.js.map +1 -1
- package/dist/DateTime.d.ts +1 -1
- package/dist/DateTime.js.map +1 -1
- package/dist/DefaultCreateDateTagNames.js.map +1 -1
- package/dist/DefaultExifToolOptions.js +22 -7
- package/dist/DefaultExifToolOptions.js.map +1 -1
- package/dist/DefaultExiftoolArgs.js.map +1 -1
- package/dist/DefaultMaxProcs.js +26 -8
- package/dist/DefaultMaxProcs.js.map +1 -1
- package/dist/DeleteAllTagsArgs.js.map +1 -1
- package/dist/ErrorsAndWarnings.d.ts +5 -1
- package/dist/ErrorsAndWarnings.js +9 -0
- package/dist/ErrorsAndWarnings.js.map +1 -1
- package/dist/ExifDate.js.map +1 -1
- package/dist/ExifDateTime.d.ts +2 -2
- package/dist/ExifDateTime.js +4 -5
- package/dist/ExifDateTime.js.map +1 -1
- package/dist/ExifTime.js.map +1 -1
- package/dist/ExifTool.d.ts +27 -21
- package/dist/ExifTool.js +49 -32
- package/dist/ExifTool.js.map +1 -1
- package/dist/ExifToolOptions.d.ts +8 -0
- package/dist/ExifToolOptions.js.map +1 -1
- package/dist/ExifToolTags.js +0 -1
- package/dist/ExifToolTags.js.map +1 -1
- package/dist/ExifToolTask.js +17 -7
- package/dist/ExifToolTask.js.map +1 -1
- package/dist/ExifToolVendoredTags.js.map +1 -1
- package/dist/ExiftoolPath.js +21 -9
- package/dist/ExiftoolPath.js.map +1 -1
- package/dist/File.d.ts +2 -0
- package/dist/File.js +16 -1
- package/dist/File.js.map +1 -1
- package/dist/FileTags.d.ts +3 -2
- package/dist/FileTags.js +3 -2
- package/dist/FileTags.js.map +1 -1
- package/dist/FilenameCharsetArgs.js.map +1 -1
- package/dist/FirstDateTime.js.map +1 -1
- package/dist/GPS.d.ts +6 -12
- package/dist/GPS.js +83 -119
- package/dist/GPS.js.map +1 -1
- package/dist/GeoTz.js.map +1 -1
- package/dist/GeolocationTags.d.ts +1 -1
- package/dist/GeolocationTags.js +16 -14
- package/dist/GeolocationTags.js.map +1 -1
- package/dist/IsWarning.js.map +1 -1
- package/dist/IsWin32.js +17 -7
- package/dist/IsWin32.js.map +1 -1
- package/dist/JSON.js +4 -1
- package/dist/JSON.js.map +1 -1
- package/dist/Lazy.js +2 -1
- package/dist/Lazy.js.map +1 -1
- package/dist/Maybe.js.map +1 -1
- package/dist/Number.d.ts +5 -3
- package/dist/Number.js +10 -1
- package/dist/Number.js.map +1 -1
- package/dist/Object.d.ts +4 -4
- package/dist/Object.js +8 -8
- package/dist/Object.js.map +1 -1
- package/dist/OnlyZerosRE.js.map +1 -1
- package/dist/Pick.js.map +1 -1
- package/dist/ReadRawTask.js +17 -7
- package/dist/ReadRawTask.js.map +1 -1
- package/dist/ReadTask.d.ts +1 -1
- package/dist/ReadTask.js +55 -21
- package/dist/ReadTask.js.map +1 -1
- package/dist/ResourceEvent.d.ts +1 -1
- package/dist/ResourceEvent.js +1 -1
- package/dist/ResourceEvent.js.map +1 -1
- package/dist/RewriteAllTagsTask.js +17 -7
- package/dist/RewriteAllTagsTask.js.map +1 -1
- package/dist/Sidecars.js.map +1 -1
- package/dist/String.d.ts +2 -2
- package/dist/String.js +0 -3
- package/dist/String.js.map +1 -1
- package/dist/Struct.d.ts +1 -1
- package/dist/Struct.js.map +1 -1
- package/dist/Tags.d.ts +161 -159
- package/dist/TimeParsing.js.map +1 -1
- package/dist/Times.js.map +1 -1
- package/dist/Timezones.d.ts +5 -4
- package/dist/Timezones.js +53 -18
- package/dist/Timezones.js.map +1 -1
- package/dist/Version.d.ts +1 -1
- package/dist/Version.js +1 -1
- package/dist/Version.js.map +1 -1
- package/dist/VersionTask.js.map +1 -1
- package/dist/Which.js.map +1 -1
- package/dist/WriteTags.d.ts +6 -1
- package/dist/WriteTask.js +36 -13
- package/dist/WriteTask.js.map +1 -1
- package/eslint.config.mjs +34 -0
- package/package.json +22 -20
package/dist/Tags.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { Version } from "./Version";
|
|
|
18
18
|
export interface ExifToolTags {
|
|
19
19
|
/** ☆☆☆☆ ✔ Example: "File is empty" */
|
|
20
20
|
Error?: string;
|
|
21
|
-
/** ★★★★ ✔ Example: 13 */
|
|
21
|
+
/** ★★★★ ✔ Example: 13.25 */
|
|
22
22
|
ExifToolVersion?: number;
|
|
23
23
|
/** ☆☆☆☆ Example: "path/to/file.jpg" */
|
|
24
24
|
SourceFile?: string;
|
|
@@ -44,11 +44,11 @@ export interface FileTags {
|
|
|
44
44
|
EncodingProcess?: string;
|
|
45
45
|
/** ★★★★ ✔ Example: "Little-endian (Intel, II)" */
|
|
46
46
|
ExifByteOrder?: string;
|
|
47
|
-
/** ★★★★ ✔ Example: "
|
|
47
|
+
/** ★★★★ ✔ Example: "2025:03:11 14:33:16-07:00" */
|
|
48
48
|
FileAccessDate?: ExifDateTime | string;
|
|
49
49
|
/** ☆☆☆☆ Example: */
|
|
50
50
|
FileCreateDate?: ExifDateTime | string;
|
|
51
|
-
/** ★★★★ ✔ Example: "
|
|
51
|
+
/** ★★★★ ✔ Example: "2025:03:07 18:53:49-08:00" */
|
|
52
52
|
FileInodeChangeDate?: ExifDateTime | string;
|
|
53
53
|
/** ★★★★ ✔ Example: "2024:06:15 18:39:22-07:00" */
|
|
54
54
|
FileModifyDate?: ExifDateTime | string;
|
|
@@ -83,6 +83,99 @@ export interface FileTags {
|
|
|
83
83
|
/** ★★★★ ✔ Example: "YCbCr4:4:4 (1 1)" */
|
|
84
84
|
YCbCrSubSampling?: string;
|
|
85
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* These are tags are derived from the values of one or more other tags.
|
|
88
|
+
* Only a few are writable directly.
|
|
89
|
+
* @see https://exiftool.org/TagNames/Composite.html
|
|
90
|
+
*/
|
|
91
|
+
export interface CompositeTags {
|
|
92
|
+
/** ☆☆☆☆ ✔ Example: "Unknown (49 5)" */
|
|
93
|
+
AdvancedSceneMode?: string;
|
|
94
|
+
/** ★★★★ ✔ Example: 90 */
|
|
95
|
+
Aperture?: number;
|
|
96
|
+
/** ★☆☆☆ ✔ Example: "On" */
|
|
97
|
+
AutoFocus?: string;
|
|
98
|
+
/** ☆☆☆☆ ✔ Example: "8.7 Mbps" */
|
|
99
|
+
AvgBitrate?: string;
|
|
100
|
+
/** ★★☆☆ ✔ Example: 46 */
|
|
101
|
+
BlueBalance?: number;
|
|
102
|
+
/** ☆☆☆☆ ✔ Example: "[Red,Green][Green,Blue]" */
|
|
103
|
+
CFAPattern?: string;
|
|
104
|
+
/** ★★★★ ✔ Example: "1.030 mm" */
|
|
105
|
+
CircleOfConfusion?: string;
|
|
106
|
+
/** ☆☆☆☆ ✔ Example: 0 */
|
|
107
|
+
ConditionalFEC?: number;
|
|
108
|
+
/** ☆☆☆☆ ✔ Example: "On" */
|
|
109
|
+
ContrastDetectAF?: string;
|
|
110
|
+
/** ☆☆☆☆ ✔ Example: "2021:03:16 18:14:25" */
|
|
111
|
+
DigitalCreationDateTime?: ExifDateTime | string;
|
|
112
|
+
/** ★★☆☆ ✔ Example: "inf (9.66 m - inf)" */
|
|
113
|
+
DOF?: string;
|
|
114
|
+
/** ★★☆☆ ✔ Example: "Unknown (3152)" */
|
|
115
|
+
DriveMode?: string;
|
|
116
|
+
/** ☆☆☆☆ ✔ Example: "Not attached" */
|
|
117
|
+
ExtenderStatus?: string;
|
|
118
|
+
/** ☆☆☆☆ ✔ Example: "Optional,TTL" */
|
|
119
|
+
FlashType?: string;
|
|
120
|
+
/** ★★★★ ✔ Example: "99.7 mm (35 mm equivalent: 554.0 mm)" */
|
|
121
|
+
FocalLength35efl?: string;
|
|
122
|
+
/** ★★★★ ✔ Example: "97.7 deg" */
|
|
123
|
+
FOV?: string;
|
|
124
|
+
/** ☆☆☆☆ ✔ Example: "2024:04:21 04:09:51Z" */
|
|
125
|
+
GPSDateTime?: ExifDateTime | string;
|
|
126
|
+
/** ☆☆☆☆ ✔ Example: "7.196465 134.376806666667" */
|
|
127
|
+
GPSPosition?: string;
|
|
128
|
+
/** ★★★★ ✔ Example: "Inf m" */
|
|
129
|
+
HyperfocalDistance?: string;
|
|
130
|
+
/** ★★★★ ✔ Example: "8x8" */
|
|
131
|
+
ImageSize?: string;
|
|
132
|
+
/** ★★☆☆ ✔ Example: "smc PENTAX-D FA 50mm F2.8 Macro" */
|
|
133
|
+
Lens?: string;
|
|
134
|
+
/** ★★☆☆ ✔ Example: "9.2 - 92.0 mm (35 mm equivalent: 24.9 - 248.8 mm)" */
|
|
135
|
+
Lens35efl?: string;
|
|
136
|
+
/** ★★☆☆ ✔ Example: "smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]" */
|
|
137
|
+
LensID?: string;
|
|
138
|
+
/** ★★★★ ✔ Example: 9.9 */
|
|
139
|
+
LightValue?: number;
|
|
140
|
+
/** ★★★★ ✔ Example: 9.5 */
|
|
141
|
+
Megapixels?: number;
|
|
142
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 512 bytes, use -b option to extract)" */
|
|
143
|
+
OriginalDecisionData?: BinaryField | string;
|
|
144
|
+
/** ☆☆☆☆ Example: "9.9 um" */
|
|
145
|
+
PeakSpectralSensitivity?: string;
|
|
146
|
+
/** ☆☆☆☆ ✔ Example: "On (73-point)" */
|
|
147
|
+
PhaseDetectAF?: string;
|
|
148
|
+
/** ★★★☆ ✔ Example: "(Binary data 37244 bytes, use -b option to extract)" */
|
|
149
|
+
PreviewImage?: BinaryField;
|
|
150
|
+
/** ★★☆☆ ✔ Example: 38.625 */
|
|
151
|
+
RedBalance?: number;
|
|
152
|
+
/** ☆☆☆☆ ✔ Example: "On" */
|
|
153
|
+
RedEyeReduction?: string;
|
|
154
|
+
/** ☆☆☆☆ Example: 11.2 */
|
|
155
|
+
RicohPitch?: number;
|
|
156
|
+
/** ☆☆☆☆ Example: 1.59 */
|
|
157
|
+
RicohRoll?: number;
|
|
158
|
+
/** ★☆☆☆ ✔ Example: "Unknown (0)" */
|
|
159
|
+
Rotation?: number;
|
|
160
|
+
/** ☆☆☆☆ ✔ Example: "9:30:01" */
|
|
161
|
+
RunTimeSincePowerUp?: string;
|
|
162
|
+
/** ★★★★ ✔ Example: 9.9 */
|
|
163
|
+
ScaleFactor35efl?: number;
|
|
164
|
+
/** ★★☆☆ ✔ Example: "Unknown (83)" */
|
|
165
|
+
ShootingMode?: string;
|
|
166
|
+
/** ☆☆☆☆ ✔ Example: "1st-curtain sync" */
|
|
167
|
+
ShutterCurtainHack?: string;
|
|
168
|
+
/** ★★★★ ✔ Example: "inf" */
|
|
169
|
+
ShutterSpeed?: string;
|
|
170
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
171
|
+
SubSecCreateDate?: ExifDateTime | string;
|
|
172
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
173
|
+
SubSecDateTimeOriginal?: ExifDateTime | string;
|
|
174
|
+
/** ☆☆☆☆ Example: */
|
|
175
|
+
SubSecMediaCreateDate?: ExifDateTime | string;
|
|
176
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
177
|
+
SubSecModifyDate?: ExifDateTime | string;
|
|
178
|
+
}
|
|
86
179
|
export interface APPTags {
|
|
87
180
|
/** ☆☆☆☆ Example: "59 128 128" */
|
|
88
181
|
AboveColor?: string;
|
|
@@ -156,7 +249,11 @@ export interface APPTags {
|
|
|
156
249
|
DCTEncodeVersion?: number;
|
|
157
250
|
/** ☆☆☆☆ ✔ Example: "Photo Global Settings" */
|
|
158
251
|
DeviceName?: string;
|
|
159
|
-
/** ☆☆☆☆
|
|
252
|
+
/** ☆☆☆☆ ✔ Example: 148.34216 */
|
|
253
|
+
DiagonalFieldOfView?: number;
|
|
254
|
+
/** ☆☆☆☆ ✔ Example: "Yes" */
|
|
255
|
+
DigitalZoomOn?: string;
|
|
256
|
+
/** ☆☆☆☆ Example: "(Binary data 275008 bytes, use -b option to extract)" */
|
|
160
257
|
EmbeddedImage?: BinaryField | string;
|
|
161
258
|
/** ☆☆☆☆ Example: 960 */
|
|
162
259
|
EmbeddedImageHeight?: number;
|
|
@@ -176,6 +273,8 @@ export interface APPTags {
|
|
|
176
273
|
ExposRatio?: number;
|
|
177
274
|
/** ☆☆☆☆ Example: 3687 */
|
|
178
275
|
Exposure?: number;
|
|
276
|
+
/** ☆☆☆☆ ✔ Example: "AUTO" */
|
|
277
|
+
ExposureType?: string;
|
|
179
278
|
/** ☆☆☆☆ Example: "46.1 deg" */
|
|
180
279
|
FieldOfView?: string;
|
|
181
280
|
/** ☆☆☆☆ Example: "NOF" */
|
|
@@ -240,10 +339,10 @@ export interface APPTags {
|
|
|
240
339
|
JPEG1?: number;
|
|
241
340
|
/** ☆☆☆☆ Example: "T199104" */
|
|
242
341
|
LensPartNumber?: string;
|
|
342
|
+
/** ☆☆☆☆ ✔ Example: "GPRO" */
|
|
343
|
+
LensProjection?: string;
|
|
243
344
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
244
345
|
LightS?: number;
|
|
245
|
-
/** ☆☆☆☆ ✔ Example: "AUTO" */
|
|
246
|
-
MaximumShutterAngle?: string;
|
|
247
346
|
/** ☆☆☆☆ Example: " 10.6" */
|
|
248
347
|
Mean?: string;
|
|
249
348
|
/** ☆☆☆☆ Example: 1 */
|
|
@@ -293,12 +392,12 @@ export interface APPTags {
|
|
|
293
392
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
294
393
|
Protect?: number;
|
|
295
394
|
/** ☆☆☆☆ ✔ Example: "On" */
|
|
296
|
-
|
|
395
|
+
Protune?: string;
|
|
297
396
|
/** ☆☆☆☆ Example: 6929 */
|
|
298
397
|
R5100?: number;
|
|
299
398
|
/** ☆☆☆☆ ✔ Example: "4_1SEC" */
|
|
300
399
|
Rate?: string;
|
|
301
|
-
/** ☆☆☆☆ Example: "(Binary data
|
|
400
|
+
/** ☆☆☆☆ Example: "(Binary data 153804 bytes, use -b option to extract)" */
|
|
302
401
|
RawThermalImage?: BinaryField | string;
|
|
303
402
|
/** ☆☆☆☆ Example: 90 */
|
|
304
403
|
RawThermalImageHeight?: number;
|
|
@@ -342,6 +441,8 @@ export interface APPTags {
|
|
|
342
441
|
RStrobe?: number;
|
|
343
442
|
/** ☆☆☆☆ ✔ Example: "8259,0,14bfe,a184,11987,1e4f1,0,7c0000,40b60000,56a05e6,6…0038,d7" */
|
|
344
443
|
S0?: string;
|
|
444
|
+
/** ☆☆☆☆ ✔ Example: "No" */
|
|
445
|
+
SpotMeter?: string;
|
|
345
446
|
/** ☆☆☆☆ Example: 0 */
|
|
346
447
|
StrobeTime?: number;
|
|
347
448
|
/** ☆☆☆☆ ✔ Example: "bd1,1,5,2beec,b5,ec15" */
|
|
@@ -369,95 +470,6 @@ export interface APPTags {
|
|
|
369
470
|
/** ☆☆☆☆ Example: 9 */
|
|
370
471
|
ZoomPos?: number;
|
|
371
472
|
}
|
|
372
|
-
/**
|
|
373
|
-
* These are tags are derived from the values of one or more other tags.
|
|
374
|
-
* Only a few are writable directly.
|
|
375
|
-
* @see https://exiftool.org/TagNames/Composite.html
|
|
376
|
-
*/
|
|
377
|
-
export interface CompositeTags {
|
|
378
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (49 5)" */
|
|
379
|
-
AdvancedSceneMode?: string;
|
|
380
|
-
/** ★★★★ ✔ Example: 90 */
|
|
381
|
-
Aperture?: number;
|
|
382
|
-
/** ☆☆☆☆ ✔ Example: "On" */
|
|
383
|
-
AutoFocus?: string;
|
|
384
|
-
/** ☆☆☆☆ ✔ Example: "8.7 Mbps" */
|
|
385
|
-
AvgBitrate?: string;
|
|
386
|
-
/** ★★☆☆ ✔ Example: 46 */
|
|
387
|
-
BlueBalance?: number;
|
|
388
|
-
/** ☆☆☆☆ ✔ Example: "[Red,Green][Green,Blue]" */
|
|
389
|
-
CFAPattern?: string;
|
|
390
|
-
/** ★★★★ ✔ Example: "1.030 mm" */
|
|
391
|
-
CircleOfConfusion?: string;
|
|
392
|
-
/** ☆☆☆☆ ✔ Example: 0 */
|
|
393
|
-
ConditionalFEC?: number;
|
|
394
|
-
/** ☆☆☆☆ ✔ Example: "2021:03:16 18:14:25" */
|
|
395
|
-
DigitalCreationDateTime?: ExifDateTime | string;
|
|
396
|
-
/** ★★☆☆ ✔ Example: "inf (9.66 m - inf)" */
|
|
397
|
-
DOF?: string;
|
|
398
|
-
/** ★★☆☆ ✔ Example: "Unknown (3152)" */
|
|
399
|
-
DriveMode?: string;
|
|
400
|
-
/** ☆☆☆☆ ✔ Example: "Not attached" */
|
|
401
|
-
ExtenderStatus?: string;
|
|
402
|
-
/** ☆☆☆☆ ✔ Example: "Optional,TTL" */
|
|
403
|
-
FlashType?: string;
|
|
404
|
-
/** ★★★★ ✔ Example: "99.7 mm (35 mm equivalent: 554.0 mm)" */
|
|
405
|
-
FocalLength35efl?: string;
|
|
406
|
-
/** ★★★★ ✔ Example: "97.7 deg" */
|
|
407
|
-
FOV?: string;
|
|
408
|
-
/** ☆☆☆☆ ✔ Example: "2024:04:21 04:09:51Z" */
|
|
409
|
-
GPSDateTime?: ExifDateTime | string;
|
|
410
|
-
/** ☆☆☆☆ ✔ Example: "7.196465 134.376806666667" */
|
|
411
|
-
GPSPosition?: string;
|
|
412
|
-
/** ★★★★ ✔ Example: "Inf m" */
|
|
413
|
-
HyperfocalDistance?: string;
|
|
414
|
-
/** ★★★★ ✔ Example: "8x8" */
|
|
415
|
-
ImageSize?: string;
|
|
416
|
-
/** ★★☆☆ ✔ Example: "smc PENTAX-D FA 50mm F2.8 Macro" */
|
|
417
|
-
Lens?: string;
|
|
418
|
-
/** ★★☆☆ ✔ Example: "9.2 - 92.0 mm (35 mm equivalent: 24.9 - 248.8 mm)" */
|
|
419
|
-
Lens35efl?: string;
|
|
420
|
-
/** ★★☆☆ ✔ Example: "smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]" */
|
|
421
|
-
LensID?: string;
|
|
422
|
-
/** ★★★★ ✔ Example: 9.9 */
|
|
423
|
-
LightValue?: number;
|
|
424
|
-
/** ★★★★ ✔ Example: 9.5 */
|
|
425
|
-
Megapixels?: number;
|
|
426
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data 512 bytes, use -b option to extract)" */
|
|
427
|
-
OriginalDecisionData?: BinaryField | string;
|
|
428
|
-
/** ☆☆☆☆ Example: "9.9 um" */
|
|
429
|
-
PeakSpectralSensitivity?: string;
|
|
430
|
-
/** ★★★☆ ✔ Example: "(Binary data 315546 bytes, use -b option to extract)" */
|
|
431
|
-
PreviewImage?: BinaryField;
|
|
432
|
-
/** ★★☆☆ ✔ Example: 38.625 */
|
|
433
|
-
RedBalance?: number;
|
|
434
|
-
/** ☆☆☆☆ ✔ Example: "On" */
|
|
435
|
-
RedEyeReduction?: string;
|
|
436
|
-
/** ☆☆☆☆ Example: 11.2 */
|
|
437
|
-
RicohPitch?: number;
|
|
438
|
-
/** ☆☆☆☆ Example: 1.59 */
|
|
439
|
-
RicohRoll?: number;
|
|
440
|
-
/** ★☆☆☆ ✔ Example: "Unknown (0)" */
|
|
441
|
-
Rotation?: number;
|
|
442
|
-
/** ☆☆☆☆ ✔ Example: "9:30:01" */
|
|
443
|
-
RunTimeSincePowerUp?: string;
|
|
444
|
-
/** ★★★★ ✔ Example: 9.9 */
|
|
445
|
-
ScaleFactor35efl?: number;
|
|
446
|
-
/** ★★☆☆ ✔ Example: "Unknown (83)" */
|
|
447
|
-
ShootingMode?: string;
|
|
448
|
-
/** ☆☆☆☆ ✔ Example: "1st-curtain sync" */
|
|
449
|
-
ShutterCurtainHack?: string;
|
|
450
|
-
/** ★★★★ ✔ Example: "inf" */
|
|
451
|
-
ShutterSpeed?: string;
|
|
452
|
-
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
453
|
-
SubSecCreateDate?: ExifDateTime | string;
|
|
454
|
-
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
455
|
-
SubSecDateTimeOriginal?: ExifDateTime | string;
|
|
456
|
-
/** ☆☆☆☆ Example: */
|
|
457
|
-
SubSecMediaCreateDate?: ExifDateTime | string;
|
|
458
|
-
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
459
|
-
SubSecModifyDate?: ExifDateTime | string;
|
|
460
|
-
}
|
|
461
473
|
/**
|
|
462
474
|
* @see https://exiftool.org/TagNames/FlashPix.html
|
|
463
475
|
*/
|
|
@@ -480,11 +492,15 @@ export interface FlashPixTags {
|
|
|
480
492
|
ExtensionName?: string;
|
|
481
493
|
/** ☆☆☆☆ ✔ Example: "Invalidated By Modification" */
|
|
482
494
|
ExtensionPersistence?: string;
|
|
483
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
495
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 57881 bytes, use -b option to extract)" */
|
|
484
496
|
ScreenNail?: BinaryField | string;
|
|
485
497
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
486
498
|
UsedExtensionNumbers?: number;
|
|
487
499
|
}
|
|
500
|
+
export interface JPEGTags {
|
|
501
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 1458 bytes, use -b option to extract)" */
|
|
502
|
+
HDRGainCurve?: BinaryField | string;
|
|
503
|
+
}
|
|
488
504
|
export interface JSONTags {
|
|
489
505
|
/** ☆☆☆☆ Example: 0 */
|
|
490
506
|
AIScene?: number;
|
|
@@ -499,30 +515,6 @@ export interface JSONTags {
|
|
|
499
515
|
/** ☆☆☆☆ Example: 1 */
|
|
500
516
|
ZoomMultiple?: number;
|
|
501
517
|
}
|
|
502
|
-
export interface MPFTags {
|
|
503
|
-
/** ★★☆☆ ✔ Example: 9697 */
|
|
504
|
-
DependentImage1EntryNumber?: number;
|
|
505
|
-
/** ★★☆☆ ✔ Example: 960 */
|
|
506
|
-
DependentImage2EntryNumber?: number;
|
|
507
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data 66 bytes, use -b option to extract)" */
|
|
508
|
-
ImageUIDList?: BinaryField | string;
|
|
509
|
-
/** ★★☆☆ ✔ Example: "0100" */
|
|
510
|
-
MPFVersion?: string;
|
|
511
|
-
/** ★★☆☆ ✔ Example: "Representative image, Dependent parent image" */
|
|
512
|
-
MPImageFlags?: string;
|
|
513
|
-
/** ★★☆☆ ✔ Example: "Unknown (4)" */
|
|
514
|
-
MPImageFormat?: string;
|
|
515
|
-
/** ★★☆☆ ✔ Example: 999325 */
|
|
516
|
-
MPImageLength?: number;
|
|
517
|
-
/** ★★☆☆ ✔ Example: 9999872 */
|
|
518
|
-
MPImageStart?: number;
|
|
519
|
-
/** ★★☆☆ ✔ Example: "Undefined" */
|
|
520
|
-
MPImageType?: string;
|
|
521
|
-
/** ★★☆☆ ✔ Example: 3 */
|
|
522
|
-
NumberOfImages?: number;
|
|
523
|
-
/** ☆☆☆☆ ✔ Example: 1 */
|
|
524
|
-
TotalFrames?: number;
|
|
525
|
-
}
|
|
526
518
|
/**
|
|
527
519
|
* @see https://exiftool.org/TagNames/EXIF.html
|
|
528
520
|
*/
|
|
@@ -625,7 +617,7 @@ export interface EXIFTags {
|
|
|
625
617
|
Gamma?: number;
|
|
626
618
|
/** ★☆☆☆ ✔ Example: 99.8 */
|
|
627
619
|
GPSAltitude?: number;
|
|
628
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (
|
|
620
|
+
/** ☆☆☆☆ ✔ Example: "Unknown (Sea level reference)" */
|
|
629
621
|
GPSAltitudeRef?: string;
|
|
630
622
|
/** ☆☆☆☆ ✔ Example: "府中市郷土の森博物館" */
|
|
631
623
|
GPSAreaInformation?: string;
|
|
@@ -703,7 +695,7 @@ export interface EXIFTags {
|
|
|
703
695
|
ISO?: number;
|
|
704
696
|
/** ☆☆☆☆ ✔ Example: 80 */
|
|
705
697
|
ISOSpeed?: number;
|
|
706
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
698
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 772608 bytes, use -b option to extract)" */
|
|
707
699
|
JpgFromRaw?: BinaryField;
|
|
708
700
|
/** ☆☆☆☆ ✔ Example: 845574 */
|
|
709
701
|
JpgFromRawLength?: number;
|
|
@@ -912,6 +904,30 @@ export interface EXIFTags {
|
|
|
912
904
|
/** ★★★★ ✔ Example: 99 */
|
|
913
905
|
YResolution?: number;
|
|
914
906
|
}
|
|
907
|
+
export interface MPFTags {
|
|
908
|
+
/** ★★☆☆ ✔ Example: 9697 */
|
|
909
|
+
DependentImage1EntryNumber?: number;
|
|
910
|
+
/** ★★☆☆ ✔ Example: 960 */
|
|
911
|
+
DependentImage2EntryNumber?: number;
|
|
912
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 66 bytes, use -b option to extract)" */
|
|
913
|
+
ImageUIDList?: BinaryField | string;
|
|
914
|
+
/** ★★☆☆ ✔ Example: "0100" */
|
|
915
|
+
MPFVersion?: string;
|
|
916
|
+
/** ★★☆☆ ✔ Example: "Representative image, Dependent parent image" */
|
|
917
|
+
MPImageFlags?: string;
|
|
918
|
+
/** ★★☆☆ ✔ Example: "Unknown (4)" */
|
|
919
|
+
MPImageFormat?: string;
|
|
920
|
+
/** ★★☆☆ ✔ Example: 999325 */
|
|
921
|
+
MPImageLength?: number;
|
|
922
|
+
/** ★★☆☆ ✔ Example: 9999872 */
|
|
923
|
+
MPImageStart?: number;
|
|
924
|
+
/** ★★☆☆ ✔ Example: "Undefined" */
|
|
925
|
+
MPImageType?: string;
|
|
926
|
+
/** ★★☆☆ ✔ Example: 3 */
|
|
927
|
+
NumberOfImages?: number;
|
|
928
|
+
/** ☆☆☆☆ ✔ Example: 1 */
|
|
929
|
+
TotalFrames?: number;
|
|
930
|
+
}
|
|
915
931
|
export interface MetaTags {
|
|
916
932
|
/** ☆☆☆☆ Example: 1 */
|
|
917
933
|
BorderID?: number;
|
|
@@ -1096,6 +1112,8 @@ export interface QuickTimeTags {
|
|
|
1096
1112
|
MediaModifyDate?: ExifDateTime | string;
|
|
1097
1113
|
/** ☆☆☆☆ ✔ Example: 8000 */
|
|
1098
1114
|
MediaTimeScale?: number;
|
|
1115
|
+
/** ☆☆☆☆ ✔ Example: "583d47d07afe1fbcfa0894d17e66051f07e1230a0000072550c3000000000000" */
|
|
1116
|
+
MediaUID?: string;
|
|
1099
1117
|
/** ☆☆☆☆ ✔ Example: "mebx" */
|
|
1100
1118
|
MetaFormat?: string;
|
|
1101
1119
|
/** ☆☆☆☆ ✔ Example: "2011.7.0" */
|
|
@@ -1168,8 +1186,8 @@ export interface QuickTimeTags {
|
|
|
1168
1186
|
VendorID?: string;
|
|
1169
1187
|
/** ☆☆☆☆ ✔ Example: "n/a" */
|
|
1170
1188
|
VideoFrameRate?: string;
|
|
1171
|
-
/** ☆☆☆☆ ✔ Example:
|
|
1172
|
-
VideoFullRangeFlag?:
|
|
1189
|
+
/** ☆☆☆☆ ✔ Example: "Limited" */
|
|
1190
|
+
VideoFullRangeFlag?: string;
|
|
1173
1191
|
}
|
|
1174
1192
|
export interface RAFTags {
|
|
1175
1193
|
/** ☆☆☆☆ ✔ Example: "294.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 6.8e-05 0.000….001464" */
|
|
@@ -1449,10 +1467,14 @@ export interface MakerNotesTags {
|
|
|
1449
1467
|
AFConfidence?: number;
|
|
1450
1468
|
/** ☆☆☆☆ ✔ Example: "Case 11" */
|
|
1451
1469
|
AFConfigTool?: string;
|
|
1470
|
+
/** ☆☆☆☆ ✔ Example: "Yes" */
|
|
1471
|
+
AFCoordinatesAvailable?: string;
|
|
1452
1472
|
/** ☆☆☆☆ Example: "(Binary data 256 bytes, use -b option to extract)" */
|
|
1453
1473
|
AFDebugInfo?: BinaryField | string;
|
|
1454
1474
|
/** ☆☆☆☆ ✔ Example: 9 */
|
|
1455
1475
|
AFDefocus?: number;
|
|
1476
|
+
/** ☆☆☆☆ ✔ Example: "Phase Detect" */
|
|
1477
|
+
AFDetectionMethod?: string;
|
|
1456
1478
|
/** ☆☆☆☆ ✔ Example: "Quick mode" */
|
|
1457
1479
|
AFDuringLiveView?: string;
|
|
1458
1480
|
/** ☆☆☆☆ ✔ Example: "On (2)" */
|
|
@@ -1599,8 +1621,6 @@ export interface MakerNotesTags {
|
|
|
1599
1621
|
ApproximateFNumber?: number;
|
|
1600
1622
|
/** ☆☆☆☆ ✔ Example: "Soft Focus; 1280; 0; 0" */
|
|
1601
1623
|
ArtFilter?: string;
|
|
1602
|
-
/** ☆☆☆☆ ✔ Example: "Off; 0; 0; Partial Color 0; No Effect; 0; No Color Filter…0; 0; 0" */
|
|
1603
|
-
ArtFilterEffect?: string;
|
|
1604
1624
|
/** ☆☆☆☆ Example: "Unknown (8305)" */
|
|
1605
1625
|
ArtMode?: string;
|
|
1606
1626
|
/** ☆☆☆☆ Example: "0 0 0" */
|
|
@@ -1803,7 +1823,7 @@ export interface MakerNotesTags {
|
|
|
1803
1823
|
CameraISO?: string;
|
|
1804
1824
|
/** ☆☆☆☆ ✔ Example: "Unknown (155)" */
|
|
1805
1825
|
CameraOrientation?: string;
|
|
1806
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
1826
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 8290 bytes, use -b option to extract)" */
|
|
1807
1827
|
CameraParameters?: BinaryField | string;
|
|
1808
1828
|
/** ☆☆☆☆ ✔ Example: "User Defined 3" */
|
|
1809
1829
|
CameraPictureStyle?: string;
|
|
@@ -2049,8 +2069,6 @@ export interface MakerNotesTags {
|
|
|
2049
2069
|
ContrastAuto?: number;
|
|
2050
2070
|
/** ☆☆☆☆ ✔ Example: "(Binary data 578 bytes, use -b option to extract)" */
|
|
2051
2071
|
ContrastCurve?: BinaryField | string;
|
|
2052
|
-
/** ☆☆☆☆ ✔ Example: "On (2)" */
|
|
2053
|
-
ContrastDetectAF?: string;
|
|
2054
2072
|
/** ☆☆☆☆ Example: "496 184 48 48" */
|
|
2055
2073
|
ContrastDetectAFArea?: string;
|
|
2056
2074
|
/** ☆☆☆☆ ✔ Example: "Yes" */
|
|
@@ -2153,7 +2171,7 @@ export interface MakerNotesTags {
|
|
|
2153
2171
|
CustomWBSetting?: string;
|
|
2154
2172
|
/** ☆☆☆☆ ✔ Example: "Yes" */
|
|
2155
2173
|
DarkFocusEnvironment?: string;
|
|
2156
|
-
/** ★★☆☆ ✔ Example: "(Binary data
|
|
2174
|
+
/** ★★☆☆ ✔ Example: "(Binary data 114 bytes, use -b option to extract)" */
|
|
2157
2175
|
DataDump?: BinaryField | string;
|
|
2158
2176
|
/** ☆☆☆☆ ✔ Example: 8289 */
|
|
2159
2177
|
DataScaling?: number;
|
|
@@ -2203,8 +2221,6 @@ export interface MakerNotesTags {
|
|
|
2203
2221
|
DigitalLensOptimizerSetting?: string;
|
|
2204
2222
|
/** ★★★☆ ✔ Example: "undef.0" */
|
|
2205
2223
|
DigitalZoom?: string;
|
|
2206
|
-
/** ☆☆☆☆ Example: "On" */
|
|
2207
|
-
DigitalZoomOn?: string;
|
|
2208
2224
|
/** ☆☆☆☆ ✔ Example: 897 */
|
|
2209
2225
|
DirectoryIndex?: number;
|
|
2210
2226
|
/** ☆☆☆☆ ✔ Example: 999 */
|
|
@@ -2455,8 +2471,6 @@ export interface MakerNotesTags {
|
|
|
2455
2471
|
FilterEffect?: string;
|
|
2456
2472
|
/** ☆☆☆☆ ✔ Example: "n/a" */
|
|
2457
2473
|
FilterEffectAuto?: string;
|
|
2458
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (0x10000)" */
|
|
2459
|
-
FilterEffectMonochrome?: string;
|
|
2460
2474
|
/** ☆☆☆☆ ✔ Example: "On" */
|
|
2461
2475
|
FinderDisplayDuringExposure?: string;
|
|
2462
2476
|
/** ☆☆☆☆ ✔ Example: "On; Normal" */
|
|
@@ -2647,8 +2661,6 @@ export interface MakerNotesTags {
|
|
|
2647
2661
|
FocusDisplayAIServoAndMF?: string;
|
|
2648
2662
|
/** ☆☆☆☆ ✔ Example: "7.68 - 36.90 m" */
|
|
2649
2663
|
FocusDistanceRange?: string;
|
|
2650
|
-
/** ★☆☆☆ ✔ Example: "inf" */
|
|
2651
|
-
FocusDistanceUpper?: string;
|
|
2652
2664
|
/** ☆☆☆☆ ✔ Example: "475x476" */
|
|
2653
2665
|
FocusFrameSize?: string;
|
|
2654
2666
|
/** ☆☆☆☆ ✔ Example: "Focus Hold" */
|
|
@@ -2675,15 +2687,17 @@ export interface MakerNotesTags {
|
|
|
2675
2687
|
FocusPixel?: string;
|
|
2676
2688
|
/** ☆☆☆☆ ✔ Example: "Auto" */
|
|
2677
2689
|
FocusPointPersistence?: string;
|
|
2690
|
+
/** ☆☆☆☆ ✔ Example: "Off" */
|
|
2691
|
+
FocusPointSchema?: string;
|
|
2678
2692
|
/** ☆☆☆☆ Example: "Normal" */
|
|
2679
2693
|
FocusPointSelectionSpeed?: string;
|
|
2680
2694
|
/** ☆☆☆☆ ✔ Example: "Wrap" */
|
|
2681
2695
|
FocusPointWrap?: string;
|
|
2682
2696
|
/** ☆☆☆☆ ✔ Example: 999 */
|
|
2683
2697
|
FocusPosition?: number;
|
|
2684
|
-
/** ☆☆☆☆ ✔ Example: "
|
|
2698
|
+
/** ☆☆☆☆ ✔ Example: "C" */
|
|
2685
2699
|
FocusPositionHorizontal?: string;
|
|
2686
|
-
/** ☆☆☆☆ ✔ Example: "
|
|
2700
|
+
/** ☆☆☆☆ ✔ Example: "C" */
|
|
2687
2701
|
FocusPositionVertical?: string;
|
|
2688
2702
|
/** ☆☆☆☆ ✔ Example: "AF Used; 96" */
|
|
2689
2703
|
FocusProcess?: string;
|
|
@@ -3123,8 +3137,6 @@ export interface MakerNotesTags {
|
|
|
3123
3137
|
LightCondition?: number;
|
|
3124
3138
|
/** ☆☆☆☆ Example: "Shadow Enhance Low" */
|
|
3125
3139
|
LightingMode?: string;
|
|
3126
|
-
/** ☆☆☆☆ Example: 8 */
|
|
3127
|
-
LightReading?: number;
|
|
3128
3140
|
/** ☆☆☆☆ Example: "Unknown (512)" */
|
|
3129
3141
|
LightSourceSpecial?: string;
|
|
3130
3142
|
/** ☆☆☆☆ ✔ Example: "LCD Backlight and Shooting Information" */
|
|
@@ -3583,8 +3595,6 @@ export interface MakerNotesTags {
|
|
|
3583
3595
|
PeripheralLightingSetting?: string;
|
|
3584
3596
|
/** ☆☆☆☆ ✔ Example: 70 */
|
|
3585
3597
|
PeripheralLightingValue?: number;
|
|
3586
|
-
/** ☆☆☆☆ ✔ Example: "On (81-point)" */
|
|
3587
|
-
PhaseDetectAF?: string;
|
|
3588
3598
|
/** ☆☆☆☆ ✔ Example: "Vivid" */
|
|
3589
3599
|
PhotoEffect?: string;
|
|
3590
3600
|
/** ☆☆☆☆ ✔ Example: "F7248739-9D7D-45ED-8B0C-63530491EEA8" */
|
|
@@ -4311,8 +4321,6 @@ export interface MakerNotesTags {
|
|
|
4311
4321
|
ToningEffect?: string;
|
|
4312
4322
|
/** ☆☆☆☆ ✔ Example: "n/a" */
|
|
4313
4323
|
ToningEffectAuto?: string;
|
|
4314
|
-
/** ☆☆☆☆ ✔ Example: "None" */
|
|
4315
|
-
ToningEffectMonochrome?: string;
|
|
4316
4324
|
/** ☆☆☆☆ ✔ Example: "n/a" */
|
|
4317
4325
|
ToningSaturation?: string;
|
|
4318
4326
|
/** ☆☆☆☆ Example: 5 */
|
|
@@ -4345,12 +4353,6 @@ export interface MakerNotesTags {
|
|
|
4345
4353
|
UsableShootingModes?: string;
|
|
4346
4354
|
/** ☆☆☆☆ ✔ Example: "Enable" */
|
|
4347
4355
|
USBPowerDelivery?: string;
|
|
4348
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (4)" */
|
|
4349
|
-
UserDef1PictureStyle?: string;
|
|
4350
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (0)" */
|
|
4351
|
-
UserDef2PictureStyle?: string;
|
|
4352
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (4)" */
|
|
4353
|
-
UserDef3PictureStyle?: string;
|
|
4354
4356
|
/** ☆☆☆☆ Example: "PC900 COVERT PRO" */
|
|
4355
4357
|
UserLabel?: string;
|
|
4356
4358
|
/** ☆☆☆☆ Example: "dpreview " */
|
|
@@ -4564,7 +4566,7 @@ export interface XMPTags {
|
|
|
4564
4566
|
CameraProfile?: string;
|
|
4565
4567
|
/** ☆☆☆☆ ✔ Example: "D4FE5D91640D0C5A01B5633EB8061002" */
|
|
4566
4568
|
CameraProfileDigest?: string;
|
|
4567
|
-
/** ☆☆☆☆ ✔ Example: [{"
|
|
4569
|
+
/** ☆☆☆☆ ✔ Example: [{"DepthMap":{"ConfidenceURI":"android/confidencemap","De…ical"}] */
|
|
4568
4570
|
Cameras?: Struct[];
|
|
4569
4571
|
/** ☆☆☆☆ Example: "Rear" */
|
|
4570
4572
|
CameraUnit?: string;
|
|
@@ -4604,7 +4606,7 @@ export interface XMPTags {
|
|
|
4604
4606
|
ColorNoiseReductionSmoothness?: number;
|
|
4605
4607
|
/** ☆☆☆☆ ✔ Example: "This is a comment." */
|
|
4606
4608
|
Comment?: string;
|
|
4607
|
-
/** ☆☆☆☆ ✔ Example: {"Directory":[{"
|
|
4609
|
+
/** ☆☆☆☆ ✔ Example: {"Directory":[{"DataURI":"primary_image","Length":0,"Mime…peg"}]} */
|
|
4608
4610
|
Container?: Struct;
|
|
4609
4611
|
/** ☆☆☆☆ Example: "/home/username/pictures" */
|
|
4610
4612
|
ContainerDirectory?: ContainerDirectoryItem[] | Struct[];
|
|
@@ -4744,7 +4746,7 @@ export interface XMPTags {
|
|
|
4744
4746
|
HasSettings?: boolean;
|
|
4745
4747
|
/** ☆☆☆☆ ✔ Example: "(Binary data 23388 bytes, use -b option to extract)" */
|
|
4746
4748
|
HdrPlusMakernote?: BinaryField | string;
|
|
4747
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
4749
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 23317 bytes, use -b option to extract)" */
|
|
4748
4750
|
HDRPMakerNote?: BinaryField | string;
|
|
4749
4751
|
/** ☆☆☆☆ ✔ Example: ["点像F11"] */
|
|
4750
4752
|
HierarchicalSubject?: string[];
|
|
@@ -4936,7 +4938,7 @@ export interface XMPTags {
|
|
|
4936
4938
|
PreservedFileName?: string;
|
|
4937
4939
|
/** ☆☆☆☆ ✔ Example: 11 */
|
|
4938
4940
|
ProcessVersion?: number;
|
|
4939
|
-
/** ☆☆☆☆ ✔ Example: [{"
|
|
4941
|
+
/** ☆☆☆☆ ✔ Example: [{"CameraIndices":[0],"Type":"DepthPhoto"}] */
|
|
4940
4942
|
Profiles?: Struct[];
|
|
4941
4943
|
/** ☆☆☆☆ Example: */
|
|
4942
4944
|
ProgramMode?: string;
|
|
@@ -5092,10 +5094,10 @@ export interface XMPTags {
|
|
|
5092
5094
|
* - a checkmark if the tag is used by popular devices (like iPhones), and
|
|
5093
5095
|
* - an example value, JSON stringified.
|
|
5094
5096
|
*
|
|
5095
|
-
* Autogenerated by "npm run mktags" by ExifTool 13.
|
|
5096
|
-
*
|
|
5097
|
+
* Autogenerated by "npm run mktags" by ExifTool 13.25 on Tue Mar 11 2025.
|
|
5098
|
+
* 2761 unique tags were found in 10128 photo and video files.
|
|
5097
5099
|
*
|
|
5098
5100
|
* @see https://exiftool.org/TagNames/
|
|
5099
5101
|
*/
|
|
5100
|
-
export interface Tags extends APPTags, CompositeTags, EXIFTags, ExifToolTags, ExifToolVendoredTags, FileTags, FlashPixTags, GeolocationTags, ICCProfileTags, IPTCApplicationRecordTags, IPTCTags, ImageDataHashTag, JFIFTags, JSONTags, MPFTags, MWGCollectionsTags, MWGKeywordTags, MakerNotesTags, MetaTags, PanasonicRawTags, PhotoshopTags, PrintIMTags, QuickTimeTags, RAFTags, RIFFTags, XMPTags {
|
|
5102
|
+
export interface Tags extends APPTags, CompositeTags, EXIFTags, ExifToolTags, ExifToolVendoredTags, FileTags, FlashPixTags, GeolocationTags, ICCProfileTags, IPTCApplicationRecordTags, IPTCTags, ImageDataHashTag, JFIFTags, JPEGTags, JSONTags, MPFTags, MWGCollectionsTags, MWGKeywordTags, MakerNotesTags, MetaTags, PanasonicRawTags, PhotoshopTags, PrintIMTags, QuickTimeTags, RAFTags, RIFFTags, XMPTags {
|
|
5101
5103
|
}
|
package/dist/TimeParsing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeParsing.js","sourceRoot":"","sources":["../src/TimeParsing.ts"],"names":[],"mappings":";;AAoBA,kCAeC;AAWD,sCAoCC;AAED,0BAgBC;AApGD,
|
|
1
|
+
{"version":3,"file":"TimeParsing.js","sourceRoot":"","sources":["../src/TimeParsing.ts"],"names":[],"mappings":"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"}
|
package/dist/Times.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Times.js","sourceRoot":"","sources":["../src/Times.ts"],"names":[],"mappings":";;AAMA,sBAEC;AARD;;;;;GAKG;AACH,SAAgB,KAAK,CAAI,CAAS,EAAE,CAAqB;IACvD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Times.js","sourceRoot":"","sources":["../src/Times.ts"],"names":[],"mappings":";;AAMA,sBAEC;AARD;;;;;GAKG;AACH,SAAgB,KAAK,CAAI,CAAS,EAAE,CAAqB;IACvD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnD,CAAC"}
|
package/dist/Timezones.d.ts
CHANGED
|
@@ -18,8 +18,9 @@ export declare const UnsetZone: Zone<boolean>;
|
|
|
18
18
|
* Zone instances with this name are a placeholder for being "unset".
|
|
19
19
|
*/
|
|
20
20
|
export declare const UnsetZoneName: string;
|
|
21
|
-
export declare function isUTC(zone:
|
|
21
|
+
export declare function isUTC(zone: unknown): boolean;
|
|
22
22
|
export declare function isZoneValid(zone: Maybe<Zone>): zone is Zone;
|
|
23
|
+
export declare function isZone(zone: unknown): zone is Zone;
|
|
23
24
|
/**
|
|
24
25
|
* If `tzSource` matches this value, the tags are from a video, and we had to
|
|
25
26
|
* resort to assuming time fields are in UTC.
|
|
@@ -30,7 +31,7 @@ export declare const defaultVideosToUTC = "defaultVideosToUTC";
|
|
|
30
31
|
* @param input must be either a number, which is the offset in minutes, or a
|
|
31
32
|
* string in the format "UTC+H" or "UTC+HH:mm"
|
|
32
33
|
*/
|
|
33
|
-
export declare function normalizeZone(input:
|
|
34
|
+
export declare function normalizeZone(input: unknown): Maybe<Zone>;
|
|
34
35
|
/**
|
|
35
36
|
* @param ts must be provided if the zone is not a fixed offset
|
|
36
37
|
* @return the zone offset (in "±HH:MM" format) for the given zone, or "" if
|
|
@@ -59,10 +60,10 @@ export interface TzSrc {
|
|
|
59
60
|
*
|
|
60
61
|
* @return undefined if the value cannot be parsed as a valid timezone offset
|
|
61
62
|
*/
|
|
62
|
-
export declare function extractZone(value:
|
|
63
|
+
export declare function extractZone(value: unknown, opts?: {
|
|
63
64
|
stripTZA?: boolean;
|
|
64
65
|
}): Maybe<TzSrc>;
|
|
65
|
-
export declare const TimezoneOffsetTagnames: readonly ["TimeZone", "
|
|
66
|
+
export declare const TimezoneOffsetTagnames: readonly ["TimeZone", "OffsetTimeOriginal", "OffsetTimeDigitized", "TimeZoneOffset"];
|
|
66
67
|
export declare function incrementZone(z: string | Zone | number, minutes: number): Maybe<Zone>;
|
|
67
68
|
export declare function extractTzOffsetFromTags(t: Tags, opts?: Pick<ExifToolOptions, "adjustTimeZoneIfDaylightSavings">): Maybe<TzSrc>;
|
|
68
69
|
export declare function extractTzOffsetFromDatestamps(t: Tags, opts: Partial<Pick<ExifToolOptions, "inferTimezoneFromDatestamps" | "inferTimezoneFromDatestampTags">>): Maybe<TzSrc>;
|