exiftool-vendored 24.3.0 → 24.5.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 +15 -1
- package/LICENSE +1 -1
- package/README.md +2 -0
- package/RELEASE.md +3 -4
- package/dist/ExifTool.d.ts +1 -1
- package/dist/ExifToolTask.d.ts +2 -0
- package/dist/ExifToolTask.js +11 -0
- package/dist/ExifToolTask.js.map +1 -1
- package/dist/Tags.d.ts +32 -56
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -26,8 +26,22 @@ vendored versions of ExifTool match the version that they vendor.
|
|
|
26
26
|
|
|
27
27
|
## Version history
|
|
28
28
|
|
|
29
|
+
### v24.5.0
|
|
30
|
+
|
|
31
|
+
- 🌱 ExifTool upgraded to [v12.76](https://exiftool.org/history.html#v12.76). Note that an ARW file corrupting issue was found that's existed since v12.45.
|
|
32
|
+
|
|
33
|
+
- 📦 Updated dependencies, including new [batch-cluster v13](https://github.com/photostructure/batch-cluster.js/releases/tag/v13.0.0) 🍀
|
|
34
|
+
|
|
35
|
+
### v24.4.0
|
|
36
|
+
|
|
37
|
+
- 🌱 ExifTool upgraded to [v12.73](https://exiftool.org/history.html#v12.73).
|
|
38
|
+
|
|
39
|
+
- 📦 If the underlying Perl installation is invalid, throw an error. [See #168 for details.](https://github.com/photostructure/exiftool-vendored.js/issues/168)
|
|
40
|
+
|
|
29
41
|
### v24.3.0
|
|
30
42
|
|
|
43
|
+
- 🌱 ExifTool upgraded to [v12.72](https://exiftool.org/history.html#v12.72).
|
|
44
|
+
|
|
31
45
|
- 📦 Relax GPS latitude/longitude parser to handle invalid Ref values (a warning will be appended to the [Tags.warnings field](https://photostructure.github.io/exiftool-vendored.js/interfaces/Tags.html#warnings)). See [#165](https://github.com/photostructure/exiftool-vendored.js/issues/165).
|
|
32
46
|
|
|
33
47
|
### v24.2.0
|
|
@@ -46,7 +60,7 @@ vendored versions of ExifTool match the version that they vendor.
|
|
|
46
60
|
|
|
47
61
|
- ✨ `.warnings` are returned by `ExifTool.read` and `ExifTool.write` tasks if there are non-critical warnings emitted to `stderr` by ExifTool.
|
|
48
62
|
|
|
49
|
-
- 📦 Some fields in `Tags` were moved to more correct groups
|
|
63
|
+
- 📦 Some fields in `Tags` were moved to more correct groups
|
|
50
64
|
|
|
51
65
|
- 📦 Refined `WriteTags` signature to omit `ExifToolTags` and `FileTags` fields.
|
|
52
66
|
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -56,6 +56,8 @@ or
|
|
|
56
56
|
|
|
57
57
|
- If you're installing on a minimal Linux distribution, you may need to install `perl`. On Alpine, run `apk add perl`.
|
|
58
58
|
|
|
59
|
+
- Node.js's `-slim` docker images don't include a working `perl` build. Use the non-slim image instead. [See the issue report for details.](https://github.com/photostructure/exiftool-vendored.js/issues/168)
|
|
60
|
+
|
|
59
61
|
## Upgrading
|
|
60
62
|
|
|
61
63
|
See the
|
package/RELEASE.md
CHANGED
|
@@ -8,15 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
3. On a Windows machine, clone
|
|
10
10
|
[exiftool-vendored.exe](https://github.com/photostructure/exiftool-vendored.exe)
|
|
11
|
-
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
4. On POSIX, in `../exiftool-vendored.pl`:
|
|
14
13
|
|
|
15
14
|
1. `git stash -u && git fetch && git checkout main && yarn install && yarn update && yarn test`
|
|
16
15
|
1. Verify diffs are in order, and commit
|
|
17
16
|
1. `npx release-it`
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
5. On Windows, in `...\exiftool-vendored.exe\`:
|
|
20
19
|
|
|
21
20
|
(The terminal built into vscode plays with `ncu` and `release-it` a bit nicer than CMD or Windows for Git's terminal)
|
|
22
21
|
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
1. Verify diffs are in order, and commit
|
|
25
24
|
1. `npx release-it`
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
6. Finally, back on the POSIX box, release `exiftool-vendored`:
|
|
28
27
|
|
|
29
28
|
1. `cd ../exiftool-vendored.js`
|
|
30
29
|
1. `yarn u`
|
package/dist/ExifTool.d.ts
CHANGED
|
@@ -211,7 +211,7 @@ export declare class ExifTool {
|
|
|
211
211
|
* and not the actual perl vm. This should only really be relevant for
|
|
212
212
|
* integration tests that verify processes are cleaned up properly.
|
|
213
213
|
*/
|
|
214
|
-
get pids():
|
|
214
|
+
get pids(): number[];
|
|
215
215
|
/**
|
|
216
216
|
* @return the number of pending (not currently worked on) tasks
|
|
217
217
|
*/
|
package/dist/ExifToolTask.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import * as bc from "batch-cluster";
|
|
2
3
|
export declare abstract class ExifToolTask<T> extends bc.Task<T> {
|
|
3
4
|
#private;
|
|
@@ -6,5 +7,6 @@ export declare abstract class ExifToolTask<T> extends bc.Task<T> {
|
|
|
6
7
|
readonly errors: string[];
|
|
7
8
|
readonly warnings: string[];
|
|
8
9
|
constructor(args: string[]);
|
|
10
|
+
onStderr(buf: string | Buffer): void;
|
|
9
11
|
protected abstract parse(input: string, error?: Error): T;
|
|
10
12
|
}
|
package/dist/ExifToolTask.js
CHANGED
|
@@ -33,6 +33,7 @@ exports.ExifToolTask = void 0;
|
|
|
33
33
|
const bc = __importStar(require("batch-cluster"));
|
|
34
34
|
const IsWarning_1 = require("./IsWarning");
|
|
35
35
|
const String_1 = require("./String");
|
|
36
|
+
const BadPerlInstallationRE = /Can't locate \S+ in @INC/i;
|
|
36
37
|
class ExifToolTask extends bc.Task {
|
|
37
38
|
static renderCommand(args) {
|
|
38
39
|
return [...args, "-ignoreMinorErrors", "-execute", ""].join("\n");
|
|
@@ -44,6 +45,16 @@ class ExifToolTask extends bc.Task {
|
|
|
44
45
|
this.errors = [];
|
|
45
46
|
this.warnings = [];
|
|
46
47
|
}
|
|
48
|
+
onStderr(buf) {
|
|
49
|
+
if (BadPerlInstallationRE.test(buf.toString())) {
|
|
50
|
+
// This isn't an error we can recover from: there's a Perl module that
|
|
51
|
+
// needs to be installed. See
|
|
52
|
+
// https://github.com/photostructure/exiftool-vendored.js/issues/168 for
|
|
53
|
+
// details.
|
|
54
|
+
throw new Error(buf.toString());
|
|
55
|
+
}
|
|
56
|
+
super.onStderr(buf);
|
|
57
|
+
}
|
|
47
58
|
}
|
|
48
59
|
exports.ExifToolTask = ExifToolTask;
|
|
49
60
|
_ExifToolTask_instances = new WeakSet(), _ExifToolTask_parser = function _ExifToolTask_parser(stdout, stderr, passed) {
|
package/dist/ExifToolTask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExifToolTask.js","sourceRoot":"","sources":["../src/ExifToolTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,2CAAuC;AAEvC,qCAA+C;AAE/C,MAAsB,YAAgB,SAAQ,EAAE,CAAC,IAAO;IACtD,MAAM,CAAC,aAAa,CAAC,IAAc;QACjC,OAAO,CAAC,GAAG,IAAI,EAAE,oBAAoB,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACnE,CAAC;IAKD,YAAqB,IAAc;QACjC,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,CACjE,uBAAA,IAAI,qDAAQ,MAAZ,IAAI,EAAS,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CACrC,CAAA;;QAHkB,SAAI,GAAJ,IAAI,CAAU;QAH1B,WAAM,GAAa,EAAE,CAAA;QACrB,aAAQ,GAAa,EAAE,CAAA;IAMhC,CAAC;
|
|
1
|
+
{"version":3,"file":"ExifToolTask.js","sourceRoot":"","sources":["../src/ExifToolTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,2CAAuC;AAEvC,qCAA+C;AAE/C,MAAM,qBAAqB,GAAG,2BAA2B,CAAA;AAEzD,MAAsB,YAAgB,SAAQ,EAAE,CAAC,IAAO;IACtD,MAAM,CAAC,aAAa,CAAC,IAAc;QACjC,OAAO,CAAC,GAAG,IAAI,EAAE,oBAAoB,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACnE,CAAC;IAKD,YAAqB,IAAc;QACjC,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,CACjE,uBAAA,IAAI,qDAAQ,MAAZ,IAAI,EAAS,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CACrC,CAAA;;QAHkB,SAAI,GAAJ,IAAI,CAAU;QAH1B,WAAM,GAAa,EAAE,CAAA;QACrB,aAAQ,GAAa,EAAE,CAAA;IAMhC,CAAC;IAEQ,QAAQ,CAAC,GAAoB;QACpC,IAAI,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;YAC/C,sEAAsE;YACtE,6BAA6B;YAC7B,wEAAwE;YACxE,WAAW;YACX,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;QACjC,CAAC;QACD,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;IACrB,CAAC;CAmBF;AA1CD,oCA0CC;8FAjBS,MAAc,EAAE,MAA0B,EAAE,MAAe;IACjE,IAAI,KAAmB,CAAA;IACvB,IAAI,IAAA,iBAAQ,EAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QAChC,KAAK,MAAM,IAAI,IAAI,IAAA,mBAAU,EAAC,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAC,EAAE,CAAC;YAC5C,IAAI,IAAA,qBAAS,EAAC,IAAI,CAAC,EAAE,CAAC;gBACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YAC1B,CAAC;iBAAM,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;gBACtB,2CAA2C;gBAC3C,KAAK,aAAL,KAAK,cAAL,KAAK,IAAL,KAAK,GAAK,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,EAAA;YACpD,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AAClC,CAAC"}
|
package/dist/Tags.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { Version } from "./Version";
|
|
|
13
13
|
export interface ExifToolTags {
|
|
14
14
|
/** ☆☆☆☆ ✔ Example: "File is empty" */
|
|
15
15
|
Error?: string;
|
|
16
|
-
/** ★★★★ ✔ Example: 12.
|
|
16
|
+
/** ★★★★ ✔ Example: 12.76 */
|
|
17
17
|
ExifToolVersion?: number;
|
|
18
18
|
/** ☆☆☆☆ ✔ Example: "Unrecognized IPTC record 0 (ignored)" */
|
|
19
19
|
Warning?: string;
|
|
@@ -33,9 +33,9 @@ export interface FileTags {
|
|
|
33
33
|
EncodingProcess?: string;
|
|
34
34
|
/** ★★★★ ✔ Example: "Little-endian (Intel, II)" */
|
|
35
35
|
ExifByteOrder?: string;
|
|
36
|
-
/** ★★★★ ✔ Example: "2024:
|
|
36
|
+
/** ★★★★ ✔ Example: "2024:02:09 22:00:17-08:00" */
|
|
37
37
|
FileAccessDate?: ExifDateTime | string;
|
|
38
|
-
/** ★★★★ ✔ Example: "
|
|
38
|
+
/** ★★★★ ✔ Example: "2024:02:09 17:23:54-08:00" */
|
|
39
39
|
FileInodeChangeDate?: ExifDateTime | string;
|
|
40
40
|
/** ★★★★ ✔ Example: "2023:07:19 21:21:02-07:00" */
|
|
41
41
|
FileModifyDate?: ExifDateTime | string;
|
|
@@ -177,6 +177,8 @@ export interface APP1Tags {
|
|
|
177
177
|
EmbeddedImageType?: string;
|
|
178
178
|
/** ☆☆☆☆ Example: 640 */
|
|
179
179
|
EmbeddedImageWidth?: number;
|
|
180
|
+
/** ☆☆☆☆ Example: 1 */
|
|
181
|
+
Emissivity?: number;
|
|
180
182
|
/** ☆☆☆☆ Example: "46.1 deg" */
|
|
181
183
|
FieldOfView?: string;
|
|
182
184
|
/** ☆☆☆☆ Example: "NOF" */
|
|
@@ -259,6 +261,8 @@ export interface APP1Tags {
|
|
|
259
261
|
Real2IR?: number;
|
|
260
262
|
/** ☆☆☆☆ Example: "26.7 C" */
|
|
261
263
|
ReflectedApparentTemperature?: string;
|
|
264
|
+
/** ☆☆☆☆ Example: "80.0 %" */
|
|
265
|
+
RelativeHumidity?: string;
|
|
262
266
|
/** ☆☆☆☆ Example: "41 110 240" */
|
|
263
267
|
UnderflowColor?: string;
|
|
264
268
|
}
|
|
@@ -419,10 +423,6 @@ export interface APP14Tags {
|
|
|
419
423
|
export interface APP4Tags {
|
|
420
424
|
/** ☆☆☆☆ ✔ Example: "40 C" */
|
|
421
425
|
AmbientTemperature?: string;
|
|
422
|
-
/** ☆☆☆☆ Example: 1 */
|
|
423
|
-
Emissivity?: number;
|
|
424
|
-
/** ☆☆☆☆ Example: "80.0 %" */
|
|
425
|
-
RelativeHumidity?: string;
|
|
426
426
|
}
|
|
427
427
|
export interface APP5Tags {
|
|
428
428
|
/** ☆☆☆☆ Example: 45 */
|
|
@@ -455,20 +455,16 @@ export interface APP6Tags {
|
|
|
455
455
|
export interface EXIFTags {
|
|
456
456
|
/** ☆☆☆☆ ✔ Example: 988517 */
|
|
457
457
|
Acceleration?: number;
|
|
458
|
-
/** ☆☆☆☆ ✔ Example: "2.225585938 1 2.039794922" */
|
|
459
|
-
AnalogBalance?: string;
|
|
460
458
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
461
459
|
AntiAliasStrength?: number;
|
|
462
460
|
/** ★★★☆ ✔ Example: 9016997700 */
|
|
463
461
|
ApertureValue?: number;
|
|
464
462
|
/** ★☆☆☆ ✔ Example: "Arturo DeImage" */
|
|
465
463
|
Artist?: string;
|
|
466
|
-
/** ☆☆☆☆ ✔ Example: "
|
|
464
|
+
/** ☆☆☆☆ ✔ Example: "0.8326394671 1.012145749 0.3512469266" */
|
|
467
465
|
AsShotNeutral?: string;
|
|
468
|
-
/** ☆☆☆☆ ✔ Example:
|
|
466
|
+
/** ☆☆☆☆ ✔ Example: -0.6566481 */
|
|
469
467
|
BaselineExposure?: number;
|
|
470
|
-
/** ☆☆☆☆ ✔ Example: 1.5 */
|
|
471
|
-
BaselineSharpness?: number;
|
|
472
468
|
/** ☆☆☆☆ ✔ Example: "94 95 93 93" */
|
|
473
469
|
BlackLevel?: string;
|
|
474
470
|
/** ☆☆☆☆ ✔ Example: 130 */
|
|
@@ -507,12 +503,10 @@ export interface EXIFTags {
|
|
|
507
503
|
CustomRendered?: string;
|
|
508
504
|
/** ☆☆☆☆ ✔ Example: "1.3.0.0" */
|
|
509
505
|
DNGBackwardVersion?: string;
|
|
510
|
-
/** ☆☆☆☆ ✔ Example: "1.
|
|
506
|
+
/** ☆☆☆☆ ✔ Example: "1.4.0.0" */
|
|
511
507
|
DNGVersion?: string;
|
|
512
508
|
/** ★★★★ ✔ Example: "2218:09:22 02:32:14" */
|
|
513
509
|
DateTimeOriginal?: ExifDateTime | string;
|
|
514
|
-
/** ☆☆☆☆ ✔ Example: "None" */
|
|
515
|
-
DefaultBlackRender?: string;
|
|
516
510
|
/** ☆☆☆☆ ✔ Example: "8 8" */
|
|
517
511
|
DefaultCropOrigin?: string;
|
|
518
512
|
/** ☆☆☆☆ ✔ Example: "8272 6200" */
|
|
@@ -641,7 +635,7 @@ export interface EXIFTags {
|
|
|
641
635
|
InteropIndex?: string;
|
|
642
636
|
/** ★★★★ ✔ Example: "undef undef undef" */
|
|
643
637
|
InteropVersion?: string;
|
|
644
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
638
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 453632 bytes, use -b option to extract)" */
|
|
645
639
|
JpgFromRaw?: BinaryField;
|
|
646
640
|
/** ☆☆☆☆ ✔ Example: 845574 */
|
|
647
641
|
JpgFromRawLength?: number;
|
|
@@ -663,8 +657,6 @@ export interface EXIFTags {
|
|
|
663
657
|
LinearityLimitGreen?: number;
|
|
664
658
|
/** ☆☆☆☆ ✔ Example: 4095 */
|
|
665
659
|
LinearityLimitRed?: number;
|
|
666
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data 22629 bytes, use -b option to extract)" */
|
|
667
|
-
LinearizationTable?: BinaryField | string;
|
|
668
660
|
/** ★★★★ ✔ Example: "samsung" */
|
|
669
661
|
Make?: string;
|
|
670
662
|
/** ☆☆☆☆ ✔ Example: "(Binary data 3072 bytes, use -b option to extract)" */
|
|
@@ -685,10 +677,8 @@ export interface EXIFTags {
|
|
|
685
677
|
ModifyDate?: ExifDateTime | string;
|
|
686
678
|
/** ☆☆☆☆ ✔ Example: 6 */
|
|
687
679
|
Noise?: number;
|
|
688
|
-
/** ☆☆☆☆ ✔ Example: "
|
|
680
|
+
/** ☆☆☆☆ ✔ Example: "0.00627371 0.0011865" */
|
|
689
681
|
NoiseProfile?: string;
|
|
690
|
-
/** ☆☆☆☆ ✔ Example: 0.94999999 */
|
|
691
|
-
NoiseReductionApplied?: number;
|
|
692
682
|
/** ☆☆☆☆ ✔ Example: "5 100 4 4 4 200 8 8 8 400 16 16 16 800 32 32 32 1600 64 64 64" */
|
|
693
683
|
NoiseReductionParams?: string;
|
|
694
684
|
/** ☆☆☆☆ ✔ Example: 58 */
|
|
@@ -729,12 +719,6 @@ export interface EXIFTags {
|
|
|
729
719
|
PrimaryChromaticities?: string;
|
|
730
720
|
/** ☆☆☆☆ ✔ Example: "https://PhotoStructure.com/" */
|
|
731
721
|
ProcessingSoftware?: string;
|
|
732
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data 822464 bytes, use -b option to extract)" */
|
|
733
|
-
ProfileGainTableMap?: BinaryField | string;
|
|
734
|
-
/** ☆☆☆☆ ✔ Example: "Apple Embedded Color Profile" */
|
|
735
|
-
ProfileName?: string;
|
|
736
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data 7195 bytes, use -b option to extract)" */
|
|
737
|
-
ProfileToneCurve?: BinaryField | string;
|
|
738
722
|
/** ☆☆☆☆ ✔ Example: 928768 */
|
|
739
723
|
RawDataOffset?: number;
|
|
740
724
|
/** ☆☆☆☆ ✔ Example: "30353330394431333030303032383242" */
|
|
@@ -769,8 +753,6 @@ export interface EXIFTags {
|
|
|
769
753
|
SceneCaptureType?: string;
|
|
770
754
|
/** ★★★★ ✔ Example: "Unknown (Directly photographed)" */
|
|
771
755
|
SceneType?: string;
|
|
772
|
-
/** ☆☆☆☆ ✔ Example: "urn:com:apple:photo:2020:aux:semanticskymatte" */
|
|
773
|
-
SemanticName?: string;
|
|
774
756
|
/** ★★★☆ ✔ Example: "Unknown (One-chip color area sensor)" */
|
|
775
757
|
SensingMethod?: string;
|
|
776
758
|
/** ★★☆☆ ✔ Example: "Unknown" */
|
|
@@ -799,7 +781,7 @@ export interface EXIFTags {
|
|
|
799
781
|
SubSecTimeDigitized?: number;
|
|
800
782
|
/** ★☆☆☆ ✔ Example: 999 */
|
|
801
783
|
SubSecTimeOriginal?: number;
|
|
802
|
-
/** ☆☆☆☆ ✔ Example: "
|
|
784
|
+
/** ☆☆☆☆ ✔ Example: "Reduced-resolution image" */
|
|
803
785
|
SubfileType?: string;
|
|
804
786
|
/** ☆☆☆☆ ✔ Example: "967 967 1425 851" */
|
|
805
787
|
SubjectArea?: string;
|
|
@@ -809,7 +791,7 @@ export interface EXIFTags {
|
|
|
809
791
|
SubjectDistanceRange?: string;
|
|
810
792
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
811
793
|
SubjectLocation?: number;
|
|
812
|
-
/** ★★★★ ✔ Example: "(Binary data
|
|
794
|
+
/** ★★★★ ✔ Example: "(Binary data 10202 bytes, use -b option to extract)" */
|
|
813
795
|
ThumbnailImage?: BinaryField;
|
|
814
796
|
/** ★★★★ ✔ Example: 9998 */
|
|
815
797
|
ThumbnailLength?: number;
|
|
@@ -821,7 +803,7 @@ export interface EXIFTags {
|
|
|
821
803
|
TileByteCounts?: BinaryField | string;
|
|
822
804
|
/** ☆☆☆☆ ✔ Example: 512 */
|
|
823
805
|
TileLength?: number;
|
|
824
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
806
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 507 bytes, use -b option to extract)" */
|
|
825
807
|
TileOffsets?: BinaryField | string;
|
|
826
808
|
/** ☆☆☆☆ ✔ Example: 512 */
|
|
827
809
|
TileWidth?: number;
|
|
@@ -1055,7 +1037,7 @@ export interface PhotoshopTags {
|
|
|
1055
1037
|
PhotoshopFormat?: string;
|
|
1056
1038
|
/** ☆☆☆☆ ✔ Example: 9 */
|
|
1057
1039
|
PhotoshopQuality?: number;
|
|
1058
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
1040
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 4291 bytes, use -b option to extract)" */
|
|
1059
1041
|
PhotoshopThumbnail?: BinaryField | string;
|
|
1060
1042
|
/** ☆☆☆☆ ✔ Example: "0 0" */
|
|
1061
1043
|
PrintPosition?: string;
|
|
@@ -2159,7 +2141,7 @@ export interface MakerNotesTags {
|
|
|
2159
2141
|
DSPFirmwareVersion?: string;
|
|
2160
2142
|
/** ☆☆☆☆ ✔ Example: "Yes" */
|
|
2161
2143
|
DarkFocusEnvironment?: string;
|
|
2162
|
-
/** ★★☆☆ ✔ Example: "(Binary data
|
|
2144
|
+
/** ★★☆☆ ✔ Example: "(Binary data 280 bytes, use -b option to extract)" */
|
|
2163
2145
|
DataDump?: BinaryField | string;
|
|
2164
2146
|
/** ☆☆☆☆ ✔ Example: 8289 */
|
|
2165
2147
|
DataScaling?: number;
|
|
@@ -2723,7 +2705,7 @@ export interface MakerNotesTags {
|
|
|
2723
2705
|
FreeBytes?: BinaryField | string;
|
|
2724
2706
|
/** ☆☆☆☆ ✔ Example: 805 */
|
|
2725
2707
|
FreeMemoryCardImages?: number;
|
|
2726
|
-
/** ☆☆☆☆
|
|
2708
|
+
/** ☆☆☆☆ Example: "Yes" */
|
|
2727
2709
|
FrontFacingCamera?: string;
|
|
2728
2710
|
/** ★☆☆☆ ✔ Example: "Red-eye reduction" */
|
|
2729
2711
|
FujiFlashMode?: string;
|
|
@@ -2855,8 +2837,8 @@ export interface MakerNotesTags {
|
|
|
2855
2837
|
ISOAutoMax?: number;
|
|
2856
2838
|
/** ☆☆☆☆ ✔ Example: 80 */
|
|
2857
2839
|
ISOAutoMin?: number;
|
|
2858
|
-
/** ☆☆☆☆ Example: "
|
|
2859
|
-
|
|
2840
|
+
/** ☆☆☆☆ Example: "Shutter Speed Control; 1/32" */
|
|
2841
|
+
ISOAutoMinSpeed?: string;
|
|
2860
2842
|
/** ☆☆☆☆ ✔ Example: "Auto (Faster)" */
|
|
2861
2843
|
ISOAutoShutterTime?: string;
|
|
2862
2844
|
/** ☆☆☆☆ ✔ Example: "Show Frame Count" */
|
|
@@ -3439,7 +3421,7 @@ export interface MakerNotesTags {
|
|
|
3439
3421
|
NEFBitDepth?: string;
|
|
3440
3422
|
/** ☆☆☆☆ ✔ Example: "Uncompressed (reduced to 12 bit)" */
|
|
3441
3423
|
NEFCompression?: string;
|
|
3442
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
3424
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 624 bytes, use -b option to extract)" */
|
|
3443
3425
|
NEFLinearizationTable?: BinaryField | string;
|
|
3444
3426
|
/** ☆☆☆☆ Example: "Off (Auto)" */
|
|
3445
3427
|
NeutralDensityFilter?: string;
|
|
@@ -3933,11 +3915,11 @@ export interface MakerNotesTags {
|
|
|
3933
3915
|
SelfTimerShotInterval?: string;
|
|
3934
3916
|
/** ☆☆☆☆ ✔ Example: "2 s" */
|
|
3935
3917
|
SelfTimerTime?: string;
|
|
3936
|
-
/** ☆☆☆☆
|
|
3918
|
+
/** ☆☆☆☆ Example: {"_0":1,"_1":0,"_2":0,"_3":0} */
|
|
3937
3919
|
SemanticStyle?: Struct;
|
|
3938
|
-
/** ☆☆☆☆
|
|
3920
|
+
/** ☆☆☆☆ Example: true */
|
|
3939
3921
|
SemanticStylePreset?: boolean;
|
|
3940
|
-
/** ☆☆☆☆
|
|
3922
|
+
/** ☆☆☆☆ Example: true */
|
|
3941
3923
|
SemanticStyleRenderingVer?: boolean;
|
|
3942
3924
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
3943
3925
|
SensitivityAdjust?: number;
|
|
@@ -4511,10 +4493,6 @@ export interface XMPTags {
|
|
|
4511
4493
|
AsrSceneMode?: string;
|
|
4512
4494
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
4513
4495
|
AutoLateralCA?: number;
|
|
4514
|
-
/** ☆☆☆☆ ✔ Example: "portraiteffectsmatte" */
|
|
4515
|
-
AuxiliaryImageSubType?: string;
|
|
4516
|
-
/** ☆☆☆☆ ✔ Example: "depth" */
|
|
4517
|
-
AuxiliaryImageType?: string;
|
|
4518
4496
|
/** ☆☆☆☆ Example: ["LWIR"] */
|
|
4519
4497
|
BandName?: string[];
|
|
4520
4498
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
@@ -4541,7 +4519,7 @@ export interface XMPTags {
|
|
|
4541
4519
|
CameraProfileDigest?: string;
|
|
4542
4520
|
/** ☆☆☆☆ Example: "Rear" */
|
|
4543
4521
|
CameraUnit?: string;
|
|
4544
|
-
/** ☆☆☆☆ ✔ Example: [{"
|
|
4522
|
+
/** ☆☆☆☆ ✔ Example: [{"DepthMap":{"ConfidenceURI":"android/confidencemap","De…ical"}] */
|
|
4545
4523
|
Cameras?: Struct[];
|
|
4546
4524
|
/** ☆☆☆☆ ✔ Example: "Photo" */
|
|
4547
4525
|
CaptureMode?: string;
|
|
@@ -4577,7 +4555,7 @@ export interface XMPTags {
|
|
|
4577
4555
|
Colorlabels?: string;
|
|
4578
4556
|
/** ☆☆☆☆ ✔ Example: "This is a comment." */
|
|
4579
4557
|
Comment?: string;
|
|
4580
|
-
/** ☆☆☆☆ ✔ Example: {"Directory":[{"
|
|
4558
|
+
/** ☆☆☆☆ ✔ Example: {"Directory":[{"DataURI":"primary_image","Length":0,"Mime…peg"}]} */
|
|
4581
4559
|
Container?: Struct;
|
|
4582
4560
|
/** ☆☆☆☆ ✔ Example: false */
|
|
4583
4561
|
ConvertToGrayscale?: boolean;
|
|
@@ -4707,7 +4685,7 @@ export interface XMPTags {
|
|
|
4707
4685
|
GreenHue?: number;
|
|
4708
4686
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
4709
4687
|
GreenSaturation?: number;
|
|
4710
|
-
/** ☆☆☆☆ ✔ Example: "(Binary data
|
|
4688
|
+
/** ☆☆☆☆ ✔ Example: "(Binary data 23317 bytes, use -b option to extract)" */
|
|
4711
4689
|
HDRPMakerNote?: BinaryField | string;
|
|
4712
4690
|
/** ☆☆☆☆ ✔ Example: false */
|
|
4713
4691
|
HasCrop?: boolean;
|
|
@@ -4775,6 +4753,8 @@ export interface XMPTags {
|
|
|
4775
4753
|
LensManufacturer?: string;
|
|
4776
4754
|
/** ☆☆☆☆ ✔ Example: 1 */
|
|
4777
4755
|
LensProfileEnable?: number;
|
|
4756
|
+
/** ☆☆☆☆ Example: "Camera Settings" */
|
|
4757
|
+
LensProfileName?: string;
|
|
4778
4758
|
/** ☆☆☆☆ ✔ Example: "LensDefaults" */
|
|
4779
4759
|
LensProfileSetup?: string;
|
|
4780
4760
|
/** ☆☆☆☆ Example: 37087 */
|
|
@@ -4885,8 +4865,6 @@ export interface XMPTags {
|
|
|
4885
4865
|
PickLabel?: number;
|
|
4886
4866
|
/** ☆☆☆☆ ✔ Example: "01.00" */
|
|
4887
4867
|
PipelineVersion?: string;
|
|
4888
|
-
/** ☆☆☆☆ ✔ Example: 65537 */
|
|
4889
|
-
PortraitEffectsMatteVersion?: number;
|
|
4890
4868
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
4891
4869
|
PortraitVersion?: number;
|
|
4892
4870
|
/** ☆☆☆☆ ✔ Example: 22.5 */
|
|
@@ -4901,7 +4879,7 @@ export interface XMPTags {
|
|
|
4901
4879
|
PreservedFileName?: string;
|
|
4902
4880
|
/** ☆☆☆☆ ✔ Example: 11 */
|
|
4903
4881
|
ProcessVersion?: number;
|
|
4904
|
-
/** ☆☆☆☆ ✔ Example: [{"
|
|
4882
|
+
/** ☆☆☆☆ ✔ Example: [{"CameraIndices":[0],"Type":"DepthPhoto"}] */
|
|
4905
4883
|
Profiles?: Struct[];
|
|
4906
4884
|
/** ☆☆☆☆ Example: */
|
|
4907
4885
|
ProgramMode?: string;
|
|
@@ -4951,8 +4929,6 @@ export interface XMPTags {
|
|
|
4951
4929
|
SceneDetectResultIds?: string;
|
|
4952
4930
|
/** ☆☆☆☆ Example: "Undefined" */
|
|
4953
4931
|
SelfData?: string;
|
|
4954
|
-
/** ☆☆☆☆ ✔ Example: 65536 */
|
|
4955
|
-
SemanticSegmentationMatteVersion?: number;
|
|
4956
4932
|
/** ☆☆☆☆ ✔ Example: 0 */
|
|
4957
4933
|
ShadowTint?: number;
|
|
4958
4934
|
/** ☆☆☆☆ ✔ Example: 25 */
|
|
@@ -5058,8 +5034,8 @@ export interface XMPTags {
|
|
|
5058
5034
|
* devices (like iPhones) An example value, JSON stringified, follows the
|
|
5059
5035
|
* popularity ratings.
|
|
5060
5036
|
*
|
|
5061
|
-
* Autogenerated by "yarn mktags" by ExifTool 12.
|
|
5062
|
-
*
|
|
5037
|
+
* Autogenerated by "yarn mktags" by ExifTool 12.76 on Fri Feb 09 2024.
|
|
5038
|
+
* 2723 unique tags were found in 10096 photo and video files.
|
|
5063
5039
|
*/
|
|
5064
5040
|
export interface Tags extends APP12Tags, APP14Tags, APP1Tags, APP4Tags, APP5Tags, APP6Tags, ApplicationRecordTags, CompositeTags, EXIFTags, ErrorsAndWarnings, ExifToolTags, FileTags, FlashPixTags, ICCProfileTags, IPTCTags, ImageDataHashTag, JFIFTags, JSONTags, MPFTags, MWGCollectionsTags, MWGKeywordTags, MakerNotesTags, MetaTags, PanasonicRawTags, PhotoshopTags, PrintIMTags, QuickTimeTags, RAFTags, RIFFTags, XMPTags {
|
|
5065
5041
|
/** Full, resolved native path to this file */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exiftool-vendored",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.5.0",
|
|
4
4
|
"description": "Efficient, cross-platform access to ExifTool",
|
|
5
5
|
"main": "./dist/ExifTool.js",
|
|
6
6
|
"types": "./dist/ExifTool.d.ts",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"@types/globule": "^1.1.9",
|
|
74
74
|
"@types/he": "^1.2.3",
|
|
75
75
|
"@types/mocha": "^10.0.6",
|
|
76
|
-
"@types/node": "^20.
|
|
76
|
+
"@types/node": "^20.11.17",
|
|
77
77
|
"@types/progress": "^2.0.7",
|
|
78
78
|
"@types/tmp": "^0.2.6",
|
|
79
79
|
"@types/xmldom": "^0.1.34",
|
|
80
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
81
|
-
"@typescript-eslint/parser": "^6.
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
81
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
82
82
|
"@xmldom/xmldom": "^0.8.10",
|
|
83
83
|
"chai": "^4.3.10",
|
|
84
84
|
"chai-as-promised": "^7.1.1",
|
|
@@ -86,34 +86,34 @@
|
|
|
86
86
|
"eslint": "^8.56.0",
|
|
87
87
|
"eslint-plugin-import": "^2.29.1",
|
|
88
88
|
"eslint-plugin-node": "^11.1.0",
|
|
89
|
-
"eslint-plugin-regexp": "^2.
|
|
89
|
+
"eslint-plugin-regexp": "^2.2.0",
|
|
90
90
|
"extract-zip": "^2.0.1",
|
|
91
|
-
"geo-tz": "^
|
|
91
|
+
"geo-tz": "^8.0.1",
|
|
92
92
|
"globule": "^1.3.4",
|
|
93
|
-
"mocha": "^10.
|
|
94
|
-
"npm-check-updates": "^16.14.
|
|
93
|
+
"mocha": "^10.3.0",
|
|
94
|
+
"npm-check-updates": "^16.14.14",
|
|
95
95
|
"npm-run-all": "^4.1.5",
|
|
96
|
-
"prettier": "^3.
|
|
96
|
+
"prettier": "^3.2.5",
|
|
97
97
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
98
98
|
"progress": "^2.0.3",
|
|
99
99
|
"rimraf": "^5.0.5",
|
|
100
100
|
"serve": "^14.2.1",
|
|
101
101
|
"source-map-support": "^0.5.21",
|
|
102
102
|
"tmp": "^0.2.1",
|
|
103
|
-
"typedoc": "^0.25.
|
|
103
|
+
"typedoc": "^0.25.8",
|
|
104
104
|
"typescript": "^5.3.3",
|
|
105
105
|
"xpath": "^0.0.34"
|
|
106
106
|
},
|
|
107
107
|
"dependencies-note": "@types/luxon is a proper dependency, not devDependency, as our exported TypeScript typings reference luxon types. See <https://github.com/photostructure/exiftool-vendored.js/pull/108>",
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@photostructure/tz-lookup": "^9.0.
|
|
110
|
-
"@types/luxon": "^3.
|
|
111
|
-
"batch-cluster": "^
|
|
109
|
+
"@photostructure/tz-lookup": "^9.0.1",
|
|
110
|
+
"@types/luxon": "^3.4.2",
|
|
111
|
+
"batch-cluster": "^13.0.0",
|
|
112
112
|
"he": "^1.2.0",
|
|
113
113
|
"luxon": "^3.4.4"
|
|
114
114
|
},
|
|
115
115
|
"optionalDependencies": {
|
|
116
|
-
"exiftool-vendored.exe": "12.
|
|
117
|
-
"exiftool-vendored.pl": "12.
|
|
116
|
+
"exiftool-vendored.exe": "12.76.0",
|
|
117
|
+
"exiftool-vendored.pl": "12.76.0"
|
|
118
118
|
}
|
|
119
119
|
}
|