exiftool-vendored 29.0.0 → 29.1.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 +19 -3
- 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 +8 -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 +17 -7
- 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 +150 -148
- 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 +33 -12
- package/dist/WriteTask.js.map +1 -1
- package/eslint.config.mjs +34 -0
- package/package.json +20 -18
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.16 */
|
|
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:01:29 11:37:49-08:00" */
|
|
48
48
|
FileAccessDate?: ExifDateTime | string;
|
|
49
49
|
/** ☆☆☆☆ Example: */
|
|
50
50
|
FileCreateDate?: ExifDateTime | string;
|
|
51
|
-
/** ★★★★ ✔ Example: "
|
|
51
|
+
/** ★★★★ ✔ Example: "2025:01:25 21:09:20-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,95 @@ 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: "2021:03:16 18:14:25" */
|
|
109
|
+
DigitalCreationDateTime?: ExifDateTime | string;
|
|
110
|
+
/** ★★☆☆ ✔ Example: "inf (9.66 m - inf)" */
|
|
111
|
+
DOF?: string;
|
|
112
|
+
/** ★★☆☆ ✔ Example: "Unknown (3152)" */
|
|
113
|
+
DriveMode?: string;
|
|
114
|
+
/** ☆☆☆☆ ✔ Example: "Not attached" */
|
|
115
|
+
ExtenderStatus?: string;
|
|
116
|
+
/** ☆☆☆☆ ✔ Example: "Optional,TTL" */
|
|
117
|
+
FlashType?: string;
|
|
118
|
+
/** ★★★★ ✔ Example: "99.7 mm (35 mm equivalent: 554.0 mm)" */
|
|
119
|
+
FocalLength35efl?: string;
|
|
120
|
+
/** ★★★★ ✔ Example: "97.7 deg" */
|
|
121
|
+
FOV?: string;
|
|
122
|
+
/** ☆☆☆☆ ✔ Example: "2024:04:21 04:09:51Z" */
|
|
123
|
+
GPSDateTime?: ExifDateTime | string;
|
|
124
|
+
/** ☆☆☆☆ ✔ Example: "7.196465 134.376806666667" */
|
|
125
|
+
GPSPosition?: string;
|
|
126
|
+
/** ★★★★ ✔ Example: "Inf m" */
|
|
127
|
+
HyperfocalDistance?: string;
|
|
128
|
+
/** ★★★★ ✔ Example: "8x8" */
|
|
129
|
+
ImageSize?: string;
|
|
130
|
+
/** ★★☆☆ ✔ Example: "smc PENTAX-D FA 50mm F2.8 Macro" */
|
|
131
|
+
Lens?: string;
|
|
132
|
+
/** ★★☆☆ ✔ Example: "9.2 - 92.0 mm (35 mm equivalent: 24.9 - 248.8 mm)" */
|
|
133
|
+
Lens35efl?: string;
|
|
134
|
+
/** ★★☆☆ ✔ Example: "smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]" */
|
|
135
|
+
LensID?: string;
|
|
136
|
+
/** ★★★★ ✔ Example: 9.9 */
|
|
137
|
+
LightValue?: number;
|
|
138
|
+
/** ★★★★ ✔ Example: 9.5 */
|
|
139
|
+
Megapixels?: number;
|
|
140
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 512 bytes, use -b option to extract)" */
|
|
141
|
+
OriginalDecisionData?: BinaryField | string;
|
|
142
|
+
/** ☆☆☆☆ Example: "9.9 um" */
|
|
143
|
+
PeakSpectralSensitivity?: string;
|
|
144
|
+
/** ★★★☆ ✔ Example: "(Binary data 37244 bytes, use -b option to extract)" */
|
|
145
|
+
PreviewImage?: BinaryField;
|
|
146
|
+
/** ★★☆☆ ✔ Example: 38.625 */
|
|
147
|
+
RedBalance?: number;
|
|
148
|
+
/** ☆☆☆☆ ✔ Example: "On" */
|
|
149
|
+
RedEyeReduction?: string;
|
|
150
|
+
/** ☆☆☆☆ Example: 11.2 */
|
|
151
|
+
RicohPitch?: number;
|
|
152
|
+
/** ☆☆☆☆ Example: 1.59 */
|
|
153
|
+
RicohRoll?: number;
|
|
154
|
+
/** ★☆☆☆ ✔ Example: "Unknown (0)" */
|
|
155
|
+
Rotation?: number;
|
|
156
|
+
/** ☆☆☆☆ ✔ Example: "9:30:01" */
|
|
157
|
+
RunTimeSincePowerUp?: string;
|
|
158
|
+
/** ★★★★ ✔ Example: 9.9 */
|
|
159
|
+
ScaleFactor35efl?: number;
|
|
160
|
+
/** ★★☆☆ ✔ Example: "Unknown (83)" */
|
|
161
|
+
ShootingMode?: string;
|
|
162
|
+
/** ☆☆☆☆ ✔ Example: "1st-curtain sync" */
|
|
163
|
+
ShutterCurtainHack?: string;
|
|
164
|
+
/** ★★★★ ✔ Example: "inf" */
|
|
165
|
+
ShutterSpeed?: string;
|
|
166
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
167
|
+
SubSecCreateDate?: ExifDateTime | string;
|
|
168
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
169
|
+
SubSecDateTimeOriginal?: ExifDateTime | string;
|
|
170
|
+
/** ☆☆☆☆ Example: */
|
|
171
|
+
SubSecMediaCreateDate?: ExifDateTime | string;
|
|
172
|
+
/** ★☆☆☆ ✔ Example: "2024:07:01 09:39:41.09+00:00" */
|
|
173
|
+
SubSecModifyDate?: ExifDateTime | string;
|
|
174
|
+
}
|
|
86
175
|
export interface APPTags {
|
|
87
176
|
/** ☆☆☆☆ Example: "59 128 128" */
|
|
88
177
|
AboveColor?: string;
|
|
@@ -369,100 +458,11 @@ export interface APPTags {
|
|
|
369
458
|
/** ☆☆☆☆ Example: 9 */
|
|
370
459
|
ZoomPos?: number;
|
|
371
460
|
}
|
|
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
461
|
/**
|
|
462
462
|
* @see https://exiftool.org/TagNames/FlashPix.html
|
|
463
463
|
*/
|
|
464
464
|
export interface FlashPixTags {
|
|
465
|
-
/** ☆☆☆☆ Example: "(Binary data
|
|
465
|
+
/** ☆☆☆☆ Example: "(Binary data 18 bytes, use -b option to extract)" */
|
|
466
466
|
AudioStream?: BinaryField | string;
|
|
467
467
|
/** ☆☆☆☆ ✔ Example: "Unicode UTF-16, little endian" */
|
|
468
468
|
CodePage?: string;
|
|
@@ -480,11 +480,15 @@ export interface FlashPixTags {
|
|
|
480
480
|
ExtensionName?: string;
|
|
481
481
|
/** ☆☆☆☆ ✔ Example: "Invalidated By Modification" */
|
|
482
482
|
ExtensionPersistence?: string;
|
|
483
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
483
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 57881 bytes, use -b option to extract)" */
|
|
484
484
|
ScreenNail?: BinaryField | string;
|
|
485
485
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
486
486
|
UsedExtensionNumbers?: number;
|
|
487
487
|
}
|
|
488
|
+
export interface JPEGTags {
|
|
489
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 1458 bytes, use -b option to extract)" */
|
|
490
|
+
HDRGainCurve?: BinaryField | string;
|
|
491
|
+
}
|
|
488
492
|
export interface JSONTags {
|
|
489
493
|
/** ☆☆☆☆ Example: 0 */
|
|
490
494
|
AIScene?: number;
|
|
@@ -499,30 +503,6 @@ export interface JSONTags {
|
|
|
499
503
|
/** ☆☆☆☆ Example: 1 */
|
|
500
504
|
ZoomMultiple?: number;
|
|
501
505
|
}
|
|
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
506
|
/**
|
|
527
507
|
* @see https://exiftool.org/TagNames/EXIF.html
|
|
528
508
|
*/
|
|
@@ -565,8 +545,6 @@ export interface EXIFTags {
|
|
|
565
545
|
CompositeImage?: string;
|
|
566
546
|
/** ★★★★ ✔ Example: 90 */
|
|
567
547
|
CompressedBitsPerPixel?: number;
|
|
568
|
-
/** ★★★★ ✔ Example: "n/a" */
|
|
569
|
-
Contrast?: string;
|
|
570
548
|
/** ★★★☆ ✔ Example: "© Chuckles McSnortypants, Inc." */
|
|
571
549
|
Copyright?: string;
|
|
572
550
|
/** ★★★★ ✔ Example: "2218:09:22 02:32:14" */
|
|
@@ -581,8 +559,6 @@ export interface EXIFTags {
|
|
|
581
559
|
DefaultCropSize?: string;
|
|
582
560
|
/** ☆☆☆☆ ✔ Example: "(Binary data 0 bytes, use -b option to extract)" */
|
|
583
561
|
DeviceSettingDescription?: BinaryField | string;
|
|
584
|
-
/** ★★★☆ ✔ Example: 8.1319764 */
|
|
585
|
-
DigitalZoomRatio?: number;
|
|
586
562
|
/** ☆☆☆☆ ✔ Example: "1.3.0.0" */
|
|
587
563
|
DNGBackwardVersion?: string;
|
|
588
564
|
/** ☆☆☆☆ ✔ Example: "1.4.0.0" */
|
|
@@ -595,8 +571,6 @@ export interface EXIFTags {
|
|
|
595
571
|
ExifImageWidth?: number;
|
|
596
572
|
/** ★☆☆☆ ✔ Example: 83 */
|
|
597
573
|
ExposureIndex?: number;
|
|
598
|
-
/** ★★★★ ✔ Example: "Unknown (Auto exposure)" */
|
|
599
|
-
ExposureMode?: string;
|
|
600
574
|
/** ★★★★ ✔ Example: "iAuto+" */
|
|
601
575
|
ExposureProgram?: string;
|
|
602
576
|
/** ★★★★ ✔ Example: "inf" */
|
|
@@ -625,7 +599,7 @@ export interface EXIFTags {
|
|
|
625
599
|
Gamma?: number;
|
|
626
600
|
/** ★☆☆☆ ✔ Example: 99.8 */
|
|
627
601
|
GPSAltitude?: number;
|
|
628
|
-
/** ☆☆☆☆ ✔ Example: "Unknown (
|
|
602
|
+
/** ☆☆☆☆ ✔ Example: "Unknown (Sea level reference)" */
|
|
629
603
|
GPSAltitudeRef?: string;
|
|
630
604
|
/** ☆☆☆☆ ✔ Example: "府中市郷土の森博物館" */
|
|
631
605
|
GPSAreaInformation?: string;
|
|
@@ -703,7 +677,7 @@ export interface EXIFTags {
|
|
|
703
677
|
ISO?: number;
|
|
704
678
|
/** ☆☆☆☆ ✔ Example: 80 */
|
|
705
679
|
ISOSpeed?: number;
|
|
706
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
680
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 687616 bytes, use -b option to extract)" */
|
|
707
681
|
JpgFromRaw?: BinaryField;
|
|
708
682
|
/** ☆☆☆☆ ✔ Example: 845574 */
|
|
709
683
|
JpgFromRawLength?: number;
|
|
@@ -813,8 +787,6 @@ export interface EXIFTags {
|
|
|
813
787
|
RowsPerStrip?: number;
|
|
814
788
|
/** ☆☆☆☆ ✔ Example: 3 */
|
|
815
789
|
SamplesPerPixel?: number;
|
|
816
|
-
/** ★★★★ ✔ Example: "n/a" */
|
|
817
|
-
Saturation?: string;
|
|
818
790
|
/** ★★★★ ✔ Example: "Unknown (Standard)" */
|
|
819
791
|
SceneCaptureType?: string;
|
|
820
792
|
/** ★★★★ ✔ Example: "Unknown (Directly photographed)" */
|
|
@@ -823,8 +795,6 @@ export interface EXIFTags {
|
|
|
823
795
|
SensingMethod?: string;
|
|
824
796
|
/** ★★☆☆ ✔ Example: "Unknown" */
|
|
825
797
|
SensitivityType?: string;
|
|
826
|
-
/** ★★★★ ✔ Example: "n/a" */
|
|
827
|
-
Sharpness?: string;
|
|
828
798
|
/** ★★★☆ ✔ Example: "1/999963365" */
|
|
829
799
|
ShutterSpeedValue?: string;
|
|
830
800
|
/** ★★★★ ✔ Example: "https://PhotoStructure.com/" */
|
|
@@ -859,7 +829,7 @@ export interface EXIFTags {
|
|
|
859
829
|
SubSecTimeDigitized?: number;
|
|
860
830
|
/** ★☆☆☆ ✔ Example: 999 */
|
|
861
831
|
SubSecTimeOriginal?: number;
|
|
862
|
-
/** ★★★★ ✔ Example: "(Binary data
|
|
832
|
+
/** ★★★★ ✔ Example: "(Binary data 12652 bytes, use -b option to extract)" */
|
|
863
833
|
ThumbnailImage?: BinaryField;
|
|
864
834
|
/** ★★★★ ✔ Example: 9998 */
|
|
865
835
|
ThumbnailLength?: number;
|
|
@@ -871,7 +841,7 @@ export interface EXIFTags {
|
|
|
871
841
|
TileByteCounts?: BinaryField | string;
|
|
872
842
|
/** ☆☆☆☆ ✔ Example: 512 */
|
|
873
843
|
TileLength?: number;
|
|
874
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
844
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 507 bytes, use -b option to extract)" */
|
|
875
845
|
TileOffsets?: BinaryField | string;
|
|
876
846
|
/** ☆☆☆☆ ✔ Example: 512 */
|
|
877
847
|
TileWidth?: number;
|
|
@@ -885,8 +855,6 @@ export interface EXIFTags {
|
|
|
885
855
|
UserComment?: string;
|
|
886
856
|
/** ☆☆☆☆ ✔ Example: 0.1 */
|
|
887
857
|
WaterDepth?: number;
|
|
888
|
-
/** ★★★★ ✔ Example: "White Preset" */
|
|
889
|
-
WhiteBalance?: string;
|
|
890
858
|
/** ☆☆☆☆ ✔ Example: 65535 */
|
|
891
859
|
WhiteLevel?: number;
|
|
892
860
|
/** ☆☆☆☆ ✔ Example: "9696 8192 8192 7136" */
|
|
@@ -912,6 +880,30 @@ export interface EXIFTags {
|
|
|
912
880
|
/** ★★★★ ✔ Example: 99 */
|
|
913
881
|
YResolution?: number;
|
|
914
882
|
}
|
|
883
|
+
export interface MPFTags {
|
|
884
|
+
/** ★★☆☆ ✔ Example: 9697 */
|
|
885
|
+
DependentImage1EntryNumber?: number;
|
|
886
|
+
/** ★★☆☆ ✔ Example: 960 */
|
|
887
|
+
DependentImage2EntryNumber?: number;
|
|
888
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 66 bytes, use -b option to extract)" */
|
|
889
|
+
ImageUIDList?: BinaryField | string;
|
|
890
|
+
/** ★★☆☆ ✔ Example: "0100" */
|
|
891
|
+
MPFVersion?: string;
|
|
892
|
+
/** ★★☆☆ ✔ Example: "Representative image, Dependent parent image" */
|
|
893
|
+
MPImageFlags?: string;
|
|
894
|
+
/** ★★☆☆ ✔ Example: "Unknown (4)" */
|
|
895
|
+
MPImageFormat?: string;
|
|
896
|
+
/** ★★☆☆ ✔ Example: 999325 */
|
|
897
|
+
MPImageLength?: number;
|
|
898
|
+
/** ★★☆☆ ✔ Example: 9999872 */
|
|
899
|
+
MPImageStart?: number;
|
|
900
|
+
/** ★★☆☆ ✔ Example: "Undefined" */
|
|
901
|
+
MPImageType?: string;
|
|
902
|
+
/** ★★☆☆ ✔ Example: 3 */
|
|
903
|
+
NumberOfImages?: number;
|
|
904
|
+
/** ☆☆☆☆ ✔ Example: 1 */
|
|
905
|
+
TotalFrames?: number;
|
|
906
|
+
}
|
|
915
907
|
export interface MetaTags {
|
|
916
908
|
/** ☆☆☆☆ Example: 1 */
|
|
917
909
|
BorderID?: number;
|
|
@@ -1168,8 +1160,8 @@ export interface QuickTimeTags {
|
|
|
1168
1160
|
VendorID?: string;
|
|
1169
1161
|
/** ☆☆☆☆ ✔ Example: "n/a" */
|
|
1170
1162
|
VideoFrameRate?: string;
|
|
1171
|
-
/** ☆☆☆☆ ✔ Example:
|
|
1172
|
-
VideoFullRangeFlag?:
|
|
1163
|
+
/** ☆☆☆☆ ✔ Example: "Limited" */
|
|
1164
|
+
VideoFullRangeFlag?: string;
|
|
1173
1165
|
}
|
|
1174
1166
|
export interface RAFTags {
|
|
1175
1167
|
/** ☆☆☆☆ ✔ 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" */
|
|
@@ -1803,7 +1795,7 @@ export interface MakerNotesTags {
|
|
|
1803
1795
|
CameraISO?: string;
|
|
1804
1796
|
/** ☆☆☆☆ ✔ Example: "Unknown (155)" */
|
|
1805
1797
|
CameraOrientation?: string;
|
|
1806
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
1798
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 8290 bytes, use -b option to extract)" */
|
|
1807
1799
|
CameraParameters?: BinaryField | string;
|
|
1808
1800
|
/** ☆☆☆☆ ✔ Example: "User Defined 3" */
|
|
1809
1801
|
CameraPictureStyle?: string;
|
|
@@ -2045,6 +2037,8 @@ export interface MakerNotesTags {
|
|
|
2045
2037
|
ContinuousShootingSpeed?: string;
|
|
2046
2038
|
/** ☆☆☆☆ ✔ Example: "Disable; 99 shots" */
|
|
2047
2039
|
ContinuousShotLimit?: string;
|
|
2040
|
+
/** ★★★★ ✔ Example: "n/a" */
|
|
2041
|
+
Contrast?: string;
|
|
2048
2042
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
2049
2043
|
ContrastAuto?: number;
|
|
2050
2044
|
/** ☆☆☆☆ ✔ Example: "(Binary data 578 bytes, use -b option to extract)" */
|
|
@@ -2205,6 +2199,8 @@ export interface MakerNotesTags {
|
|
|
2205
2199
|
DigitalZoom?: string;
|
|
2206
2200
|
/** ☆☆☆☆ Example: "On" */
|
|
2207
2201
|
DigitalZoomOn?: string;
|
|
2202
|
+
/** ★★★☆ ✔ Example: 8.1319764 */
|
|
2203
|
+
DigitalZoomRatio?: number;
|
|
2208
2204
|
/** ☆☆☆☆ ✔ Example: 897 */
|
|
2209
2205
|
DirectoryIndex?: number;
|
|
2210
2206
|
/** ☆☆☆☆ ✔ Example: 999 */
|
|
@@ -2333,6 +2329,8 @@ export interface MakerNotesTags {
|
|
|
2333
2329
|
ExposureIndicator?: number;
|
|
2334
2330
|
/** ☆☆☆☆ ✔ Example: "1/3-stop set, 1/3-stop comp." */
|
|
2335
2331
|
ExposureLevelIncrements?: string;
|
|
2332
|
+
/** ★★★★ ✔ Example: "Unknown (Auto exposure)" */
|
|
2333
|
+
ExposureMode?: string;
|
|
2336
2334
|
/** ☆☆☆☆ ✔ Example: "Spot metering" */
|
|
2337
2335
|
ExposureModeInManual?: string;
|
|
2338
2336
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
@@ -2647,8 +2645,6 @@ export interface MakerNotesTags {
|
|
|
2647
2645
|
FocusDisplayAIServoAndMF?: string;
|
|
2648
2646
|
/** ☆☆☆☆ ✔ Example: "7.68 - 36.90 m" */
|
|
2649
2647
|
FocusDistanceRange?: string;
|
|
2650
|
-
/** ★☆☆☆ ✔ Example: "inf" */
|
|
2651
|
-
FocusDistanceUpper?: string;
|
|
2652
2648
|
/** ☆☆☆☆ ✔ Example: "475x476" */
|
|
2653
2649
|
FocusFrameSize?: string;
|
|
2654
2650
|
/** ☆☆☆☆ ✔ Example: "Focus Hold" */
|
|
@@ -3889,6 +3885,8 @@ export interface MakerNotesTags {
|
|
|
3889
3885
|
SanyoQuality?: string;
|
|
3890
3886
|
/** ☆☆☆☆ Example: "(Binary data 10313 bytes, use -b option to extract)" */
|
|
3891
3887
|
SanyoThumbnail?: BinaryField | string;
|
|
3888
|
+
/** ★★★★ ✔ Example: "n/a" */
|
|
3889
|
+
Saturation?: string;
|
|
3892
3890
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
3893
3891
|
SaturationAdj?: number;
|
|
3894
3892
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
@@ -4027,6 +4025,8 @@ export interface MakerNotesTags {
|
|
|
4027
4025
|
ShakeReduction?: string;
|
|
4028
4026
|
/** ☆☆☆☆ Example: "Normal" */
|
|
4029
4027
|
Sharpening?: string;
|
|
4028
|
+
/** ★★★★ ✔ Example: "n/a" */
|
|
4029
|
+
Sharpness?: string;
|
|
4030
4030
|
/** ☆☆☆☆ ✔ Example: 3 */
|
|
4031
4031
|
SharpnessAuto?: number;
|
|
4032
4032
|
/** ☆☆☆☆ ✔ Example: 768 */
|
|
@@ -4303,7 +4303,7 @@ export interface MakerNotesTags {
|
|
|
4303
4303
|
ToneCurve?: string;
|
|
4304
4304
|
/** ☆☆☆☆ ✔ Example: "(Binary data 95 bytes, use -b option to extract)" */
|
|
4305
4305
|
ToneCurveMatching?: BinaryField | string;
|
|
4306
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
4306
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 1679 bytes, use -b option to extract)" */
|
|
4307
4307
|
ToneCurveTable?: BinaryField | string;
|
|
4308
4308
|
/** ☆☆☆☆ ✔ Example: "Highlights; 0; -7; 7; Shadows; 0; -7; 7; Midtones; 0; -7;…0; 0; 0" */
|
|
4309
4309
|
ToneLevel?: string;
|
|
@@ -4447,6 +4447,8 @@ export interface MakerNotesTags {
|
|
|
4447
4447
|
WBShiftGM?: number;
|
|
4448
4448
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
4449
4449
|
WBShiftIntelligentAuto?: number;
|
|
4450
|
+
/** ★★★★ ✔ Example: "White Preset" */
|
|
4451
|
+
WhiteBalance?: string;
|
|
4450
4452
|
/** ☆☆☆☆ ✔ Example: "On" */
|
|
4451
4453
|
WhiteBalanceAutoAdjustment?: string;
|
|
4452
4454
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
@@ -4471,7 +4473,7 @@ export interface MakerNotesTags {
|
|
|
4471
4473
|
WhiteBalanceSetting?: string;
|
|
4472
4474
|
/** ☆☆☆☆ ✔ Example: "Auto" */
|
|
4473
4475
|
WhiteBalanceSetup?: string;
|
|
4474
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
4476
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 2217 bytes, use -b option to extract)" */
|
|
4475
4477
|
WhiteBalanceTable?: BinaryField | string;
|
|
4476
4478
|
/** ☆☆☆☆ ✔ Example: "Auto" */
|
|
4477
4479
|
WhiteBalanceTemperature?: string;
|
|
@@ -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 22075 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.16 on Wed Jan 29 2025.
|
|
5098
|
+
* 2754 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>;
|