forked from MikeKovarik/exifr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiptc-keys.mjs
78 lines (75 loc) · 2.02 KB
/
iptc-keys.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import {tagKeys, createDictionary} from '../tags.mjs'
// Slightly modified version of
// https://exiftool.org/TagNames/IPTC.html
createDictionary(tagKeys, 'iptc', [
[0, 'ApplicationRecordVersion'],
[3, 'ObjectTypeReference'],
[4, 'ObjectAttributeReference'],
[5, 'ObjectName'],
[7, 'EditStatus'],
[8, 'EditorialUpdate'],
[10, 'Urgency'],
[12, 'SubjectReference'],
[15, 'Category'],
[20, 'SupplementalCategories'],
[22, 'FixtureIdentifier'],
[25, 'Keywords'],
[26, 'ContentLocationCode'],
[27, 'ContentLocationName'],
[30, 'ReleaseDate'],
[35, 'ReleaseTime'],
[37, 'ExpirationDate'],
[38, 'ExpirationTime'],
[40, 'SpecialInstructions'],
[42, 'ActionAdvised'],
[45, 'ReferenceService'],
[47, 'ReferenceDate'],
[50, 'ReferenceNumber'],
[55, 'DateCreated'],
[60, 'TimeCreated'],
[62, 'DigitalCreationDate'],
[63, 'DigitalCreationTime'],
[65, 'OriginatingProgram'],
[70, 'ProgramVersion'],
[75, 'ObjectCycle'],
[80, 'Byline'],
[85, 'BylineTitle'],
[90, 'City'],
[92, 'Sublocation'],
[95, 'State'], // Province-State
[100, 'CountryCode'], // Country-PrimaryLocationCode
[101, 'Country'], // Country-PrimaryLocationName
[103, 'OriginalTransmissionReference'],
[105, 'Headline'],
[110, 'Credit'],
[115, 'Source'],
[116, 'CopyrightNotice'],
[118, 'Contact'],
[120, 'Caption'], // Caption-Abstract
[121, 'LocalCaption'],
[122, 'Writer'], // Writer-Editor
[125, 'RasterizedCaption'],
[130, 'ImageType'],
[131, 'ImageOrientation'],
[135, 'LanguageIdentifier'],
[150, 'AudioType'],
[151, 'AudioSamplingRate'],
[152, 'AudioSamplingResolution'],
[153, 'AudioDuration'],
[154, 'AudioOutcue'],
[184, 'JobID'],
[185, 'MasterDocumentID'],
[186, 'ShortDocumentID'],
[187, 'UniqueDocumentID'],
[188, 'OwnerID'],
[200, 'ObjectPreviewFileFormat'],
[201, 'ObjectPreviewFileVersion'],
[202, 'ObjectPreviewData'],
[221, 'Prefs'],
[225, 'ClassifyState'],
[228, 'SimilarityIndex'],
[230, 'DocumentNotes'],
[231, 'DocumentHistory'],
[232, 'ExifCameraInfo'],
[255, 'CatalogSets'],
])