exiftool-vendored 32.0.1 → 33.0.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 CHANGED
@@ -1,4 +1,14 @@
1
- # Changelog/Versioning
1
+ # Release changelog
2
+
3
+ ## Releases
4
+
5
+ See the [releases page](https://github.com/photostructure/exiftool-vendored.js/releases) for
6
+
7
+ - release dates
8
+ - tag links, and
9
+ - commits for a given version
10
+
11
+ (The changes in this document are manually copied into the GitHub release notes)
2
12
 
3
13
  ## Versioning
4
14
 
@@ -23,13 +33,25 @@ vendored versions of ExifTool match the version that they vendor.
23
33
  - 🐞 Backwards-compatible bug fixes
24
34
  - 📦 Minor packaging changes
25
35
 
26
- ## Version history
36
+ ## History
37
+
38
+ ### v33.0.0
39
+
40
+ - 🐞/💔 `SubSecMediaCreateDate` was removed from `CompositeTags` and `Tags`. It apparently never _was_ a thing, and, worse: I can't blame AI for hallucinating it, because I added it several years ago. Oops!
41
+ - ✨ `mktags` was enhanced to detect and avoid duplicate field definitions from included static interfaces.
42
+ - ✨ Increased MAX_TAGS from 2500 to 2700 to accommodate additional tags, so there's a bunch of new tags in there! Please open an issue if you see `error TS2590: Expression produces a union type that is too complex to represent` (please be sure to include a reproduction!)
43
+ - 📦 Added jsdocs to many, many fields.
44
+ - 🐞 `mktags` calculates `@frequency` correctly now (it was measuring "average occurrences per file across all groups" rather than "percentage of files containing this tag" -- this led to some tags having a frequency of 200% (!!))
45
+
46
+ ### v32.1.0
47
+
48
+ - 🐞 Async `disposable` timeouts are now cancelled properly. Prior versions could prevent the process from exiting until the timeout elapsed.
27
49
 
28
50
  ### v32.0.1
29
51
 
30
52
  - 💔 Archaic timezones are no longer supported by default. If you have relevant (old) digital media, set `Settings.allowArchaicTimezoneOffsets.value = true`.
31
53
  - 💔 [useMWG](https://photostructure.github.io/exiftool-vendored.js/interfaces/ExifTool.ExifToolOptions.html#usemwg) now defaults to `true`, the ExifTool recommendation. See [the ExifTool page](https://exiftool.org/TagNames/MWG.html) for more details.
32
- - ✨ Added **Settings** for global library configuration. See [CONFIGURATION](https://photostructure.github.io/exiftool-vendored.js/documents/CONFIGURATION.html) for details.
54
+ - ✨ Added **Settings** for global library configuration. See [CONFIGURATION](https://photostructure.github.io/exiftool-vendored.js/documents/docs_CONFIGURATION.html) for details.
33
55
  - 📦 `MakerNotes.AspectRatio` was restored to the Tags union
34
56
  - 📦 `ExifTool.readRaw()` now accepts the option `useMWG` (which also defaults to `true`) and has a signature that matches `read()`.
35
57
 
@@ -1 +1 @@
1
- export declare const CapturedAtTagNames: readonly ["SubSecDateTimeOriginal", "SubSecCreateDate", "SubSecMediaCreateDate", "DateTimeOriginal", "CreateDate", "MediaCreateDate", "CreationDate", "DateTimeCreated", "TimeCreated"];
1
+ export declare const CapturedAtTagNames: readonly ["SubSecDateTimeOriginal", "SubSecCreateDate", "DateTimeOriginal", "CreateDate", "MediaCreateDate", "CreationDate", "DateTimeCreated", "TimeCreated"];
@@ -4,7 +4,6 @@ exports.CapturedAtTagNames = void 0;
4
4
  exports.CapturedAtTagNames = [
5
5
  "SubSecDateTimeOriginal",
6
6
  "SubSecCreateDate",
7
- "SubSecMediaCreateDate",
8
7
  "DateTimeOriginal",
9
8
  "CreateDate",
10
9
  "MediaCreateDate",
@@ -1 +1 @@
1
- {"version":3,"file":"CapturedAtTagNames.js","sourceRoot":"","sources":["../src/CapturedAtTagNames.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAG;IAChC,wBAAwB;IACxB,kBAAkB;IAClB,uBAAuB;IACvB,kBAAkB;IAClB,YAAY;IACZ,iBAAiB;IACjB,cAAc,EAAE,0CAA0C;IAC1D,iBAAiB;IACjB,aAAa,EAAE,0BAA0B;CACC,CAAC"}
1
+ {"version":3,"file":"CapturedAtTagNames.js","sourceRoot":"","sources":["../src/CapturedAtTagNames.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAG;IAChC,wBAAwB;IACxB,kBAAkB;IAClB,kBAAkB;IAClB,YAAY;IACZ,iBAAiB;IACjB,cAAc,EAAE,0CAA0C;IAC1D,iBAAiB;IACjB,aAAa,EAAE,0BAA0B;CACC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @deprecated use {@link CapturedAtTagNames} instead.
3
3
  */
4
- export declare const DefaultCreateDateTagNames: readonly ["SubSecDateTimeOriginal", "SubSecCreateDate", "SubSecMediaCreateDate", "DateTimeOriginal", "CreateDate", "MediaCreateDate", "CreationDate", "DateTimeCreated", "TimeCreated"];
4
+ export declare const DefaultCreateDateTagNames: readonly ["SubSecDateTimeOriginal", "SubSecCreateDate", "DateTimeOriginal", "CreateDate", "MediaCreateDate", "CreationDate", "DateTimeCreated", "TimeCreated"];
@@ -0,0 +1 @@
1
+ export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
package/dist/Equal.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Equal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Equal.js","sourceRoot":"","sources":["../src/Equal.ts"],"names":[],"mappings":""}
package/dist/ExifTool.js CHANGED
@@ -518,14 +518,14 @@ class ExifTool {
518
518
  }
519
519
  }, timeoutMs);
520
520
  cleanup
521
- .then(() => {
522
- clearTimeout(timeoutHandle);
523
- })
524
521
  .catch((err) => {
525
- clearTimeout(timeoutHandle);
526
522
  // Log error but don't throw, as disposal should not fail
527
523
  const logger = this.options.logger();
528
524
  logger.error("ExifTool synchronous disposal error:", err);
525
+ })
526
+ .finally(() => {
527
+ if (timeoutHandle != null)
528
+ clearTimeout(timeoutHandle);
529
529
  });
530
530
  }
531
531
  }
@@ -549,8 +549,9 @@ class ExifTool {
549
549
  if (!this.ended) {
550
550
  // Set up a timeout to prevent hanging indefinitely during async disposal
551
551
  const timeoutMs = this.options.asyncDisposalTimeoutMs ?? 5000;
552
+ let timeoutHandle = undefined;
552
553
  const timeoutPromise = new Promise((_, reject) => {
553
- setTimeout(() => {
554
+ timeoutHandle = setTimeout(() => {
554
555
  reject(new Error(`ExifTool async disposal timeout after ${timeoutMs}ms`));
555
556
  }, timeoutMs);
556
557
  });
@@ -576,6 +577,10 @@ class ExifTool {
576
577
  throw err;
577
578
  }
578
579
  }
580
+ finally {
581
+ if (timeoutHandle != null)
582
+ clearTimeout(timeoutHandle);
583
+ }
579
584
  }
580
585
  }
581
586
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ExifTool.js","sourceRoot":"","sources":["../src/ExifTool.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAoC;AACpC,wDAA0C;AAC1C,6CAA+B;AAC/B,gEAAmC;AACnC,mCAAkC;AAClC,6CAA6C;AAC7C,iEAGgC;AAChC,6DAA0D;AAC1D,qEAAkE;AAClE,2DAAwD;AACxD,uDAA6E;AAE7E,iDAA8C;AAC9C,uCAAoC;AACpC,iCAA8B;AAC9B,qCAAsD;AACtD,iCAA8B;AAG9B,+CAIuB;AACvB,yCAA6E;AAC7E,6DAA0D;AAC1D,yCAAsC;AACtC,qCAAqD;AAErD,+CAA4C;AAC5C,mCAAgC;AAEhC,2CAKqB;AAErB,2CAA6C;AAApC,2GAAA,aAAa,OAAA;AACtB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAOjB,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,+CAA8C;AAArC,4GAAA,YAA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YACzD,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAjqBD,4BAiqBC;AAED;;;;;;;;;;;;;;GAcG;AACU,QAAA,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExifToolVendoredTags.js","sourceRoot":"","sources":["../src/ExifToolVendoredTags.ts"],"names":[],"mappings":";;;AACA,uCAA0D;AAkC7C,QAAA,wBAAwB,GAAG,IAAA,iBAAO,EAC7C,IAAI,EACJ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,UAAU,CACmC,CAAC"}
1
+ {"version":3,"file":"ExifToolVendoredTags.js","sourceRoot":"","sources":["../src/ExifToolVendoredTags.ts"],"names":[],"mappings":";;;AAGA,uCAA0D;AAkC7C,QAAA,wBAAwB,GAAG,IAAA,iBAAO,EAC7C,IAAI,EACJ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,UAAU,CACmC,CAAC"}
@@ -0,0 +1 @@
1
+ export type Expect<T extends true> = T;
package/dist/Expect.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Expect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Expect.js","sourceRoot":"","sources":["../src/Expect.ts"],"names":[],"mappings":""}
@@ -6,38 +6,90 @@ import { StrEnum, StrEnumKeys } from "./StrEnum";
6
6
  * @see https://exiftool.org/geolocation.html#Read
7
7
  */
8
8
  export interface GeolocationTags {
9
- /** ☆☆☆☆ ✔ Example: 99 */
9
+ /**
10
+ * ☆☆☆☆ ✔ Example: 99
11
+ *
12
+ * Compass bearing in degrees from the input GPS position to the returned
13
+ * city's coordinates. Only generated when GPS coordinates are provided as input.
14
+ */
10
15
  GeolocationBearing?: number;
11
- /** ☆☆☆☆ ✔ Example: "Zürich" */
16
+ /**
17
+ * ☆☆☆☆ ✔ Example: "Zürich"
18
+ *
19
+ * The name of the nearest city or populated place found in the geonames database.
20
+ * Note: The term "City" here may more aptly be called "Feature Name" since the
21
+ * database may include features which are not cities.
22
+ */
12
23
  GeolocationCity?: string;
13
24
  /** ☆☆☆☆ ✔ Example: "United States" */
14
25
  GeolocationCountry?: string;
15
- /** ☆☆☆☆ ✔ Example: "US" */
26
+ /**
27
+ * ☆☆☆☆ ✔ Example: "US"
28
+ *
29
+ * Two-letter ISO country code for the location.
30
+ */
16
31
  GeolocationCountryCode?: string;
17
- /** ☆☆☆☆ ✔ Example: "9.60 km" */
32
+ /**
33
+ * ☆☆☆☆ ✔ Example: "9.60 km"
34
+ *
35
+ * The distance in kilometers from the input GPS point to the GeolocationPosition
36
+ * of the returned city. Only generated when GPS coordinates are provided as input.
37
+ */
18
38
  GeolocationDistance?: string;
19
39
  /**
20
40
  * ☆☆☆☆ ✔ Example: "PPLL"
21
41
  * @see http://www.geonames.org/export/codes.html#P
22
42
  */
23
43
  GeolocationFeatureCode?: string;
24
- /** ☆☆☆☆ ✔ Example: "Populated Place" */
44
+ /**
45
+ * ☆☆☆☆ ✔ Example: "Populated Place"
46
+ *
47
+ * Human-readable description of the GeolocationFeatureCode, such as
48
+ * "Populated Place" or "Seat Of A First-order Administrative Division".
49
+ */
25
50
  GeolocationFeatureType?: string;
26
- /** ☆☆☆☆ ✔ Example: 95000 */
51
+ /**
52
+ * ☆☆☆☆ ✔ Example: 95000
53
+ *
54
+ * Population of the identified city or feature, rounded to 2 significant digits.
55
+ * Based on geonames database entries for reference purposes.
56
+ */
27
57
  GeolocationPopulation?: number;
28
- /** ☆☆☆☆ ✔ Example: "7.3397, 134.4733" */
58
+ /**
59
+ * ☆☆☆☆ ✔ Example: "7.3397, 134.4733"
60
+ *
61
+ * Latitude and longitude coordinates of the identified city, formatted as
62
+ * "latitude, longitude" in decimal degrees.
63
+ */
29
64
  GeolocationPosition?: string;
30
- /** ☆☆☆☆ ✔ Example: "Île-de-France" */
65
+ /**
66
+ * ☆☆☆☆ ✔ Example: "Île-de-France"
67
+ *
68
+ * Administrative division corresponding to state or province in North America.
69
+ * Derived from the geonames database.
70
+ */
31
71
  GeolocationRegion?: string;
32
- /** ☆☆☆☆ ✔ Example: "Yokohama Shi" */
33
- GeolocationSubregion?: string;
34
- /** ☆☆☆☆ ✔ Example: "Pacific/Saipan"
72
+ /**
73
+ * ☆☆☆☆ ✔ Example: "Yokohama Shi"
35
74
  *
36
- * IANA time zone name
75
+ * Secondary administrative division (typically county in North America).
76
+ * The meaning varies by country.
77
+ */
78
+ GeolocationSubregion?: string;
79
+ /**
80
+ * IANA timezone name associated with the matched city location from the geonames database.
37
81
  *
38
82
  * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
83
+ * @example "Pacific/Saipan"
39
84
  */
40
85
  GeolocationTimeZone?: string;
86
+ /**
87
+ * Warning messages related to geolocation processing, if any issues occur
88
+ * during lookup or if the geolocation data may be unreliable.
89
+ *
90
+ * Note: This tag is not documented in the official ExifTool geolocation
91
+ * documentation and may not be consistently returned.
92
+ */
41
93
  GeolocationWarning?: string;
42
94
  }
43
95
  export declare const GeolocationTagNames: StrEnum<"GeolocationBearing" | "GeolocationCity" | "GeolocationCountry" | "GeolocationCountryCode" | "GeolocationDistance" | "GeolocationFeatureCode" | "GeolocationFeatureType" | "GeolocationPopulation" | "GeolocationPosition" | "GeolocationRegion" | "GeolocationSubregion" | "GeolocationTimeZone" | "GeolocationWarning">;
@@ -1 +1 @@
1
- {"version":3,"file":"GeolocationTags.js","sourceRoot":"","sources":["../src/GeolocationTags.ts"],"names":[],"mappings":";;;AA8DA,4CAEC;AAhED,uCAA0D;AA4C7C,QAAA,mBAAmB,GAAG,IAAA,iBAAO,EACxC,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,CACoB,CAAC;AAI3C,SAAgB,gBAAgB,CAAC,GAAW;IAC1C,OAAO,2BAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,CAAC"}
1
+ {"version":3,"file":"GeolocationTags.js","sourceRoot":"","sources":["../src/GeolocationTags.ts"],"names":[],"mappings":";;;AAoHA,4CAEC;AApHD,uCAA0D;AAgG7C,QAAA,mBAAmB,GAAG,IAAA,iBAAO,EACxC,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,CACoB,CAAC;AAI3C,SAAgB,gBAAgB,CAAC,GAAW;IAC1C,OAAO,2BAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,CAAC"}
@@ -5,23 +5,112 @@ import { StrEnum, StrEnumKeys } from "./StrEnum";
5
5
  * None of these tags are writable.
6
6
  */
7
7
  export interface ICCProfileTags {
8
- /** ☆☆☆☆ ✔ Example: "RGB " */
8
+ /**
9
+ * The color space of the device associated with this ICC profile.
10
+ *
11
+ * Common values include "RGB ", "CMYK", "Gray", "Lab ", "XYZ ", and others.
12
+ * Note that color space names are often padded to 4 characters.
13
+ *
14
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
15
+ *
16
+ * ☆☆☆☆ ✔ Example: "RGB "
17
+ */
9
18
  ColorSpaceData?: string;
10
- /** ☆☆☆☆ ✔ Example: "0.9642 1 0.82491" */
19
+ /**
20
+ * XYZ values of the illuminant of the Profile Connection Space (PCS).
21
+ *
22
+ * This is typically the D50 standard illuminant (0.9642, 1.0, 0.8249) used
23
+ * as the reference white point for ICC color transformations. The three
24
+ * numbers represent the X, Y, and Z tristimulus values.
25
+ *
26
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
27
+ *
28
+ * ☆☆☆☆ ✔ Example: "0.9642 1 0.82491"
29
+ */
11
30
  ConnectionSpaceIlluminant?: string;
12
- /** ☆☆☆☆ ✔ Example: "Reflective, Glossy, Positive, Color" */
31
+ /**
32
+ * Physical characteristics of the device (reflective vs. transmissive,
33
+ * glossy vs. matte, positive vs. negative media, color vs. black-and-white).
34
+ *
35
+ * These attributes help color management systems understand the nature of
36
+ * the device and apply appropriate color transformations.
37
+ *
38
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
39
+ *
40
+ * ☆☆☆☆ ✔ Example: "Reflective, Glossy, Positive, Color"
41
+ */
13
42
  DeviceAttributes?: string;
14
- /** ☆☆☆☆ ✔ Example: "none" */
43
+ /**
44
+ * Manufacturer signature code identifying the device manufacturer.
45
+ *
46
+ * This is typically a 4-character code registered with the ICC, or "none"
47
+ * for generic profiles. Common manufacturers include Adobe, Apple, Canon,
48
+ * Nikon, and others.
49
+ *
50
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
51
+ *
52
+ * ☆☆☆☆ ✔ Example: "none"
53
+ */
15
54
  DeviceManufacturer?: string;
16
- /** ☆☆☆☆ ✔ Example: "IEC http://www.iec.ch" */
55
+ /**
56
+ * Human-readable description of the device manufacturer.
57
+ *
58
+ * This provides a full text description of the manufacturer, often
59
+ * including URLs or additional contact information, complementing the
60
+ * 4-character DeviceManufacturer signature code.
61
+ *
62
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
63
+ *
64
+ * ☆☆☆☆ ✔ Example: "IEC http://www.iec.ch"
65
+ */
17
66
  DeviceMfgDesc?: string;
18
- /** ☆☆☆☆ ✔ Example: "sRGB" */
67
+ /**
68
+ * Device model signature code.
69
+ *
70
+ * This is typically a 4-character code or short identifier that specifies
71
+ * the particular device model. Works in conjunction with DeviceManufacturer
72
+ * for complete device identification.
73
+ *
74
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
75
+ *
76
+ * ☆☆☆☆ ✔ Example: "sRGB"
77
+ */
19
78
  DeviceModel?: string;
20
- /** ☆☆☆☆ ✔ Example: "sRGB v1.31 (Canon)" */
79
+ /**
80
+ * Human-readable description of the device model.
81
+ *
82
+ * This provides a full text description of the device model, complementing
83
+ * the shorter DeviceModel field with more detailed information such as
84
+ * version numbers and manufacturer names.
85
+ *
86
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
87
+ *
88
+ * ☆☆☆☆ ✔ Example: "sRGB v1.31 (Canon)"
89
+ */
21
90
  DeviceModelDesc?: string;
22
- /** ☆☆☆☆ ✔ Example: "76.03647 80 87.12462" */
91
+ /**
92
+ * Absolute luminance of emissive devices in XYZ tristimulus coordinates.
93
+ *
94
+ * The three numbers represent X, Y, and Z values, where the Y component
95
+ * directly corresponds to the luminance in cd/m² as defined by CIE
96
+ * absolute colorimetry.
97
+ *
98
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
99
+ *
100
+ * ☆☆☆☆ ✔ Example: "76.03647 80 87.12462"
101
+ */
23
102
  Luminance?: string;
24
- /** ☆☆☆☆ ✔ Example: "sRGB v1.31 (Canon)" */
103
+ /**
104
+ * Human-readable description of the ICC profile.
105
+ *
106
+ * This is the primary name and description of the color profile, typically
107
+ * including the profile name, version, and sometimes the intended use case
108
+ * or device it was created for.
109
+ *
110
+ * @see https://exiftool.org/TagNames/ICC_Profile.html
111
+ *
112
+ * ☆☆☆☆ ✔ Example: "sRGB v1.31 (Canon)"
113
+ */
25
114
  ProfileDescription?: string;
26
115
  }
27
116
  export declare const ICCProfileTagNames: StrEnum<"ColorSpaceData" | "ConnectionSpaceIlluminant" | "DeviceAttributes" | "DeviceManufacturer" | "DeviceMfgDesc" | "DeviceModel" | "DeviceModelDesc" | "Luminance" | "ProfileDescription">;
@@ -1 +1 @@
1
- {"version":3,"file":"ICCProfileTags.js","sourceRoot":"","sources":["../src/ICCProfileTags.ts"],"names":[],"mappings":";;;AAAA,uCAA0D;AA4B7C,QAAA,kBAAkB,GAAG,IAAA,iBAAO,EACvC,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,oBAAoB,CACmB,CAAC"}
1
+ {"version":3,"file":"ICCProfileTags.js","sourceRoot":"","sources":["../src/ICCProfileTags.ts"],"names":[],"mappings":";;;AAEA,uCAA0D;AA6H7C,QAAA,kBAAkB,GAAG,IAAA,iBAAO,EACvC,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,oBAAoB,CACmB,CAAC"}
@@ -20,51 +20,179 @@ export interface IPTCApplicationRecordTags {
20
20
  EditStatus?: string;
21
21
  EditorialUpDate?: ExifDateTime | ExifDate;
22
22
  /**
23
- * "0 (reserved)" | "1 (most urgent)" | "2" | "3" | "4" | "5 (normal urgency)" | "6" | "7" | "8 (least urgent)" | "9 (user-defined priority)"
23
+ * Editorial urgency rating (1-9 scale, deprecated).
24
+ *
25
+ * @remarks Valid values: '1' (Highest), '2'-'4', '5' (Normal), '6'-'7', '8' (Lowest), '9' (User defined).
26
+ * Note: This field was deprecated when IPTC Core 1.0 was released in 2005.
24
27
  */
25
28
  Urgency?: string;
29
+ /**
30
+ * Structured subject classification reference (13-236+ characters).
31
+ *
32
+ * @remarks Used for formal subject taxonomies and classification systems.
33
+ */
26
34
  SubjectReference?: string;
35
+ /**
36
+ * Content category code.
37
+ *
38
+ * @remarks Max 3 characters. Single category code for primary content classification.
39
+ * Note: This field was deprecated when IPTC Core 1.0 was released in 2005.
40
+ */
27
41
  Category?: string;
42
+ /**
43
+ * Additional category assignments for the content.
44
+ *
45
+ * @remarks Max 32 characters per entry, repeatable. Supplements the primary Category field.
46
+ * Note: This field was deprecated when IPTC Core 1.0 was released in 2005.
47
+ */
28
48
  SupplementalCategories?: string;
49
+ /**
50
+ * Identifier for recurring or regularly updated content (e.g., "Daily Market Report").
51
+ *
52
+ * @remarks Max 32 characters. Used to identify content that appears repeatedly or is part of a series.
53
+ */
29
54
  FixtureIdentifier?: string;
30
55
  ContentLocationCode?: string;
31
56
  ContentLocationName?: string;
57
+ /**
58
+ * Date when the content is eligible for publication (format: YYYYMMDD).
59
+ */
32
60
  ReleaseDate?: ExifDateTime | ExifDate;
61
+ /**
62
+ * Time when the content is eligible for publication (includes timezone offset).
63
+ */
33
64
  ReleaseTime?: ExifDateTime | ExifTime;
65
+ /**
66
+ * Date when the content validity expires (format: YYYYMMDD).
67
+ */
34
68
  ExpirationDate?: ExifDateTime | ExifDate;
69
+ /**
70
+ * Time when the content validity expires (includes timezone offset).
71
+ */
35
72
  ExpirationTime?: string | ExifDateTime | ExifTime;
73
+ /**
74
+ * Editorial handling or usage instructions for the image.
75
+ *
76
+ * @remarks Max 256 characters. Used for special directives about how the content should be used or handled.
77
+ */
36
78
  SpecialInstructions?: string;
79
+ /**
80
+ * Action required for this content.
81
+ *
82
+ * @remarks Valid values: 01 (Kill/delete), 02 (Replace with new version), 03 (Append to existing), 04 (Reference only)
83
+ */
37
84
  ActionAdvised?: number;
38
85
  ReferenceService?: string;
39
86
  ReferenceDate?: ExifDateTime | ExifDate;
40
87
  ReferenceNumber?: number;
41
88
  OriginatingProgram?: string;
42
89
  ProgramVersion?: string;
90
+ /**
91
+ * Publication cycle timing.
92
+ *
93
+ * @remarks Valid values: 'a' (morning), 'b' (both morning and evening), 'p' (evening)
94
+ */
43
95
  ObjectCycle?: string;
96
+ /**
97
+ * Creator or photographer name (e.g., "John Smith").
98
+ *
99
+ * @remarks Despite the hyphenated name, this is the standard field for crediting the image creator. Max 32 characters per entry, repeatable.
100
+ */
44
101
  "By-line"?: string;
102
+ /**
103
+ * Creator's professional title (e.g., "Staff Photographer", "Freelance Journalist").
104
+ *
105
+ * @remarks Max 32 characters per entry, repeatable.
106
+ */
45
107
  "By-lineTitle"?: string;
46
108
  City?: string;
109
+ /**
110
+ * Location details within a city (e.g., "Central Park", "Brooklyn Bridge", "Building 5").
111
+ *
112
+ * @remarks Max 32 characters. Use for specific locations more granular than city level.
113
+ */
47
114
  "Sub-location"?: string;
115
+ /**
116
+ * Province, state, or administrative region name (e.g., "California", "Ontario", "Bavaria").
117
+ *
118
+ * @remarks Max 32 characters.
119
+ */
48
120
  "Province-State"?: string;
121
+ /**
122
+ * ISO 3166 country code (typically 3-character alpha-3 format like "USA", "GBR", "JPN").
123
+ *
124
+ * @remarks The field expects 3-character codes per IPTC IIM specification, though ISO 3166 also defines 2-character alpha-2 codes.
125
+ */
49
126
  "Country-PrimaryLocationCode"?: string;
127
+ /**
128
+ * Full country name (e.g., "United States", "United Kingdom", "Japan").
129
+ *
130
+ * @remarks Max 64 characters.
131
+ */
50
132
  "Country-PrimaryLocationName"?: string;
133
+ /**
134
+ * Originally for transmission reference, now commonly used as a job identifier or assignment code.
135
+ *
136
+ * @remarks Max 32 characters.
137
+ */
51
138
  OriginalTransmissionReference?: string;
52
139
  Headline?: string;
140
+ /**
141
+ * Provider or agency that supplied the image (e.g., "Associated Press", "Getty Images").
142
+ *
143
+ * @remarks Max 32 characters. Acknowledges the source provider.
144
+ */
53
145
  Credit?: string;
146
+ /**
147
+ * Original owner or source of the image (e.g., "Reuters", "NASA").
148
+ *
149
+ * @remarks Max 32 characters. Indicates the originating source, distinct from the provider.
150
+ */
54
151
  Source?: string;
55
152
  CopyrightNotice?: string;
56
153
  Contact?: string;
154
+ /**
155
+ * Detailed description or caption of the image content.
156
+ *
157
+ * @remarks Max 2000 characters. Despite the hyphenated name, this is the standard field for comprehensive image descriptions.
158
+ */
57
159
  "Caption-Abstract"?: string;
58
160
  LocalCaption?: string;
161
+ /**
162
+ * Caption writer or editor name (e.g., "Jane Doe").
163
+ *
164
+ * @remarks Max 32 characters per entry, repeatable. Credits the person who wrote or edited the caption, not the photographer.
165
+ */
59
166
  "Writer-Editor"?: string;
60
167
  ImageType?: string;
61
- /** 'L' = Landscape, 'P' = Portrait, 'S' = Square. */
168
+ /**
169
+ * Image orientation.
170
+ *
171
+ * @remarks Valid values: 'L' (Landscape), 'P' (Portrait), 'S' (Square)
172
+ */
62
173
  ImageOrientation?: string;
63
174
  LanguageIdentifier?: string;
175
+ /**
176
+ * Audio format type (2 characters indicating mono/stereo with content type).
177
+ */
64
178
  AudioType?: string;
179
+ /**
180
+ * Audio sampling frequency in Hz (6 digits).
181
+ */
65
182
  AudioSamplingRate?: number;
183
+ /**
184
+ * Audio bit resolution (2 digits, e.g., 16 for 16-bit audio).
185
+ */
66
186
  AudioSamplingResolution?: number;
187
+ /**
188
+ * Audio length in HHMMSS format (6 digits).
189
+ */
67
190
  AudioDuration?: number;
191
+ /**
192
+ * Ending audio identifier or outcue text.
193
+ *
194
+ * @remarks Max 64 characters. Identifies what audio ends with, useful for broadcast synchronization.
195
+ */
68
196
  AudioOutcue?: string;
69
197
  JobID?: string;
70
198
  MasterDocumentID?: string;
@@ -80,5 +208,5 @@ export interface IPTCApplicationRecordTags {
80
208
  DocumentHistory?: string;
81
209
  ExifCameraInfo?: string;
82
210
  }
83
- export declare const IPTCApplicationRecordTagNames: StrEnum<"Category" | "ApplicationRecordVersion" | "ObjectTypeReference" | "ObjectAttributeReference" | "ObjectName" | "EditStatus" | "EditorialUpDate" | "Urgency" | "SubjectReference" | "SupplementalCategories" | "FixtureIdentifier" | "ContentLocationCode" | "ContentLocationName" | "ReleaseDate" | "ReleaseTime" | "ExpirationDate" | "ExpirationTime" | "SpecialInstructions" | "ActionAdvised" | "ReferenceService" | "ReferenceDate" | "ReferenceNumber" | "OriginatingProgram" | "ProgramVersion" | "ObjectCycle" | "By-line" | "By-lineTitle" | "City" | "Sub-location" | "Province-State" | "Country-PrimaryLocationCode" | "Country-PrimaryLocationName" | "OriginalTransmissionReference" | "Headline" | "Credit" | "Source" | "CopyrightNotice" | "Contact" | "Caption-Abstract" | "LocalCaption" | "Writer-Editor" | "ImageType" | "ImageOrientation" | "LanguageIdentifier" | "AudioType" | "AudioSamplingRate" | "AudioSamplingResolution" | "AudioDuration" | "AudioOutcue" | "JobID" | "MasterDocumentID" | "ShortDocumentID" | "UniqueDocumentID" | "OwnerID" | "ObjectPreviewFileFormat" | "ObjectPreviewFileVersion" | "Prefs" | "ClassifyState" | "SimilarityIndex" | "DocumentNotes" | "DocumentHistory" | "ExifCameraInfo">;
211
+ export declare const IPTCApplicationRecordTagNames: StrEnum<"ApplicationRecordVersion" | "ObjectTypeReference" | "ObjectAttributeReference" | "ObjectName" | "EditStatus" | "EditorialUpDate" | "Urgency" | "SubjectReference" | "Category" | "SupplementalCategories" | "FixtureIdentifier" | "ContentLocationCode" | "ContentLocationName" | "ReleaseDate" | "ReleaseTime" | "ExpirationDate" | "ExpirationTime" | "SpecialInstructions" | "ActionAdvised" | "ReferenceService" | "ReferenceDate" | "ReferenceNumber" | "OriginatingProgram" | "ProgramVersion" | "ObjectCycle" | "By-line" | "By-lineTitle" | "City" | "Sub-location" | "Province-State" | "Country-PrimaryLocationCode" | "Country-PrimaryLocationName" | "OriginalTransmissionReference" | "Headline" | "Credit" | "Source" | "CopyrightNotice" | "Contact" | "Caption-Abstract" | "LocalCaption" | "Writer-Editor" | "ImageType" | "ImageOrientation" | "LanguageIdentifier" | "AudioType" | "AudioSamplingRate" | "AudioSamplingResolution" | "AudioDuration" | "AudioOutcue" | "JobID" | "MasterDocumentID" | "ShortDocumentID" | "UniqueDocumentID" | "OwnerID" | "ObjectPreviewFileFormat" | "ObjectPreviewFileVersion" | "Prefs" | "ClassifyState" | "SimilarityIndex" | "DocumentNotes" | "DocumentHistory" | "ExifCameraInfo">;
84
212
  export type IPTCApplicationRecordTagName = StrEnumKeys<typeof IPTCApplicationRecordTagNames>;
@@ -1 +1 @@
1
- {"version":3,"file":"IPTCApplicationRecordTags.js","sourceRoot":"","sources":["../src/IPTCApplicationRecordTags.ts"],"names":[],"mappings":";;;AAGA,uCAA0D;AAiF7C,QAAA,6BAA6B,GAAG,IAAA,iBAAO,EAClD,0BAA0B,EAC1B,qBAAqB,EACrB,0BAA0B,EAC1B,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,cAAc,EACd,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EACf,aAAa,EACb,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,yBAAyB,EACzB,0BAA0B,EAC1B,OAAO,EACP,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,CACkC,CAAC"}
1
+ {"version":3,"file":"IPTCApplicationRecordTags.js","sourceRoot":"","sources":["../src/IPTCApplicationRecordTags.ts"],"names":[],"mappings":";;;AAKA,uCAA0D;AAiN7C,QAAA,6BAA6B,GAAG,IAAA,iBAAO,EAClD,0BAA0B,EAC1B,qBAAqB,EACrB,0BAA0B,EAC1B,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,cAAc,EACd,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EACf,aAAa,EACb,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,yBAAyB,EACzB,0BAA0B,EAC1B,OAAO,EACP,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,CACkC,CAAC"}