forked from MikeKovarik/exifr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicc-keys.mjs
86 lines (83 loc) · 2.49 KB
/
icc-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
79
80
81
82
83
84
85
86
import {tagKeys, createDictionary} from '../tags.mjs'
// https://exiftool.org/TagNames/ICC_Profile.html
createDictionary(tagKeys, 'icc', [
// Header Tags
[4, 'ProfileCMMType'],
[8, 'ProfileVersion'],
[12, 'ProfileClass'],
[16, 'ColorSpaceData'],
[20, 'ProfileConnectionSpace'],
[24, 'ProfileDateTime'],
[36, 'ProfileFileSignature'],
[40, 'PrimaryPlatform'],
[44, 'CMMFlags'],
[48, 'DeviceManufacturer'],
[52, 'DeviceModel'],
[56, 'DeviceAttributes'],
[64, 'RenderingIntent'],
[68, 'ConnectionSpaceIlluminant'],
[80, 'ProfileCreator'],
[84, 'ProfileID'],
// Other Tags
['Header', 'ProfileHeader'],
['MS00', 'WCSProfiles'],
['bTRC', 'BlueTRC'],
['bXYZ', 'BlueMatrixColumn'],
['bfd', 'UCRBG'],
['bkpt', 'MediaBlackPoint'],
['calt', 'CalibrationDateTime'],
['chad', 'ChromaticAdaptation'],
['chrm', 'Chromaticity'],
['ciis', 'ColorimetricIntentImageState'],
['clot', 'ColorantTableOut'],
['clro', 'ColorantOrder'],
['clrt', 'ColorantTable'],
['cprt', 'ProfileCopyright'],
['crdi', 'CRDInfo'],
['desc', 'ProfileDescription'],
['devs', 'DeviceSettings'],
['dmdd', 'DeviceModelDesc'],
['dmnd', 'DeviceMfgDesc'],
['dscm', 'ProfileDescriptionML'],
['fpce', 'FocalPlaneColorimetryEstimates'],
['gTRC', 'GreenTRC'],
['gXYZ', 'GreenMatrixColumn'],
['gamt', 'Gamut'],
['kTRC', 'GrayTRC'],
['lumi', 'Luminance'],
['meas', 'Measurement'],
['meta', 'Metadata'],
['mmod', 'MakeAndModel'],
['ncl2', 'NamedColor2'],
['ncol', 'NamedColor'],
['ndin', 'NativeDisplayInfo'],
['pre0', 'Preview0'],
['pre1', 'Preview1'],
['pre2', 'Preview2'],
['ps2i', 'PS2RenderingIntent'],
['ps2s', 'PostScript2CSA'],
['psd0', 'PostScript2CRD0'],
['psd1', 'PostScript2CRD1'],
['psd2', 'PostScript2CRD2'],
['psd3', 'PostScript2CRD3'],
['pseq', 'ProfileSequenceDesc'],
['psid', 'ProfileSequenceIdentifier'],
['psvm', 'PS2CRDVMSize'],
['rTRC', 'RedTRC'],
['rXYZ', 'RedMatrixColumn'],
['resp', 'OutputResponse'],
['rhoc', 'ReflectionHardcopyOrigColorimetry'],
['rig0', 'PerceptualRenderingIntentGamut'],
['rig2', 'SaturationRenderingIntentGamut'],
['rpoc', 'ReflectionPrintOutputColorimetry'],
['sape', 'SceneAppearanceEstimates'],
['scoe', 'SceneColorimetryEstimates'],
['scrd', 'ScreeningDesc'],
['scrn', 'Screening'],
['targ', 'CharTarget'],
['tech', 'Technology'],
['vcgt', 'VideoCardGamma'],
['view', 'ViewingConditions'],
['vued', 'ViewingCondDesc'],
['wtpt', 'MediaWhitePoint'],
])