forked from MikeKovarik/exifr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicc-values.mjs
341 lines (334 loc) · 7.95 KB
/
icc-values.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
import {tagValues, createDictionary} from '../tags.mjs'
// inspired by & slightly modified from
// https://exiftool.org/TagNames/ICC_Profile.html
const companies = {
'4d2p': 'Erdt Systems',
AAMA: 'Aamazing Technologies',
ACER: 'Acer',
ACLT: 'Acolyte Color Research',
ACTI: 'Actix Sytems',
ADAR: 'Adara Technology',
ADBE: 'Adobe',
ADI: 'ADI Systems',
AGFA: 'Agfa Graphics',
ALMD: 'Alps Electric',
ALPS: 'Alps Electric',
ALWN: 'Alwan Color Expertise',
AMTI: 'Amiable Technologies',
AOC: 'AOC International',
APAG: 'Apago',
APPL: 'Apple Computer',
AST: 'AST',
'AT&T': 'AT&T',
BAEL: 'BARBIERI electronic',
BRCO: 'Barco NV',
BRKP: 'Breakpoint',
BROT: 'Brother',
BULL: 'Bull',
BUS: 'Bus Computer Systems',
'C-IT': 'C-Itoh',
CAMR: 'Intel',
CANO: 'Canon',
CARR: 'Carroll Touch',
CASI: 'Casio',
CBUS: 'Colorbus PL',
CEL: 'Crossfield',
CELx: 'Crossfield',
CGS: 'CGS Publishing Technologies International',
CHM: 'Rochester Robotics',
CIGL: 'Colour Imaging Group, London',
CITI: 'Citizen',
CL00: 'Candela',
CLIQ: 'Color IQ',
CMCO: 'Chromaco',
CMiX: 'CHROMiX',
COLO: 'Colorgraphic Communications',
COMP: 'Compaq',
COMp: 'Compeq/Focus Technology',
CONR: 'Conrac Display Products',
CORD: 'Cordata Technologies',
CPQ: 'Compaq',
CPRO: 'ColorPro',
CRN: 'Cornerstone',
CTX: 'CTX International',
CVIS: 'ColorVision',
CWC: 'Fujitsu Laboratories',
DARI: 'Darius Technology',
DATA: 'Dataproducts',
DCP: 'Dry Creek Photo',
DCRC: 'Digital Contents Resource Center, Chung-Ang University',
DELL: 'Dell Computer',
DIC: 'Dainippon Ink and Chemicals',
DICO: 'Diconix',
DIGI: 'Digital',
'DL&C': 'Digital Light & Color',
DPLG: 'Doppelganger',
DS: 'Dainippon Screen',
DSOL: 'DOOSOL',
DUPN: 'DuPont',
EPSO: 'Epson',
ESKO: 'Esko-Graphics',
ETRI: 'Electronics and Telecommunications Research Institute',
EVER: 'Everex Systems',
EXAC: 'ExactCODE',
Eizo: 'Eizo',
FALC: 'Falco Data Products',
FF: 'Fuji Photo Film',
FFEI: 'FujiFilm Electronic Imaging',
FNRD: 'Fnord Software',
FORA: 'Fora',
FORE: 'Forefront Technology',
FP: 'Fujitsu',
FPA: 'WayTech Development',
FUJI: 'Fujitsu',
FX: 'Fuji Xerox',
GCC: 'GCC Technologies',
GGSL: 'Global Graphics Software',
GMB: 'Gretagmacbeth',
GMG: 'GMG',
GOLD: 'GoldStar Technology',
GOOG: 'Google',
GPRT: 'Giantprint',
GTMB: 'Gretagmacbeth',
GVC: 'WayTech Development',
GW2K: 'Sony',
HCI: 'HCI',
HDM: 'Heidelberger Druckmaschinen',
HERM: 'Hermes',
HITA: 'Hitachi America',
HP: 'Hewlett-Packard',
HTC: 'Hitachi',
HiTi: 'HiTi Digital',
IBM: 'IBM',
IDNT: 'Scitex',
IEC: 'Hewlett-Packard',
IIYA: 'Iiyama North America',
IKEG: 'Ikegami Electronics',
IMAG: 'Image Systems',
IMI: 'Ingram Micro',
INTC: 'Intel',
INTL: 'N/A (INTL)',
INTR: 'Intra Electronics',
IOCO: 'Iocomm International Technology',
IPS: 'InfoPrint Solutions Company',
IRIS: 'Scitex',
ISL: 'Ichikawa Soft Laboratory',
ITNL: 'N/A (ITNL)',
IVM: 'IVM',
IWAT: 'Iwatsu Electric',
Idnt: 'Scitex',
Inca: 'Inca Digital Printers',
Iris: 'Scitex',
JPEG: 'Joint Photographic Experts Group',
JSFT: 'Jetsoft Development',
JVC: 'JVC Information Products',
KART: 'Scitex',
KFC: 'KFC Computek Components',
KLH: 'KLH Computers',
KMHD: 'Konica Minolta',
KNCA: 'Konica',
KODA: 'Kodak',
KYOC: 'Kyocera',
Kart: 'Scitex',
LCAG: 'Leica',
LCCD: 'Leeds Colour',
LDAK: 'Left Dakota',
LEAD: 'Leading Technology',
LEXM: 'Lexmark International',
LINK: 'Link Computer',
LINO: 'Linotronic',
LITE: 'Lite-On',
Leaf: 'Leaf',
Lino: 'Linotronic',
MAGC: 'Mag Computronic',
MAGI: 'MAG Innovision',
MANN: 'Mannesmann',
MICN: 'Micron Technology',
MICR: 'Microtek',
MICV: 'Microvitec',
MINO: 'Minolta',
MITS: 'Mitsubishi Electronics America',
MITs: 'Mitsuba',
MNLT: 'Minolta',
MODG: 'Modgraph',
MONI: 'Monitronix',
MONS: 'Monaco Systems',
MORS: 'Morse Technology',
MOTI: 'Motive Systems',
MSFT: 'Microsoft',
MUTO: 'MUTOH INDUSTRIES',
Mits: 'Mitsubishi Electric',
NANA: 'NANAO',
NEC: 'NEC',
NEXP: 'NexPress Solutions',
NISS: 'Nissei Sangyo America',
NKON: 'Nikon',
NONE: 'none',
OCE: 'Oce Technologies',
OCEC: 'OceColor',
OKI: 'Oki',
OKID: 'Okidata',
OKIP: 'Okidata',
OLIV: 'Olivetti',
OLYM: 'Olympus',
ONYX: 'Onyx Graphics',
OPTI: 'Optiquest',
PACK: 'Packard Bell',
PANA: 'Matsushita Electric Industrial',
PANT: 'Pantone',
PBN: 'Packard Bell',
PFU: 'PFU',
PHIL: 'Philips Consumer Electronics',
PNTX: 'HOYA',
POne: 'Phase One A/S',
PREM: 'Premier Computer Innovations',
PRIN: 'Princeton Graphic Systems',
PRIP: 'Princeton Publishing Labs',
QLUX: 'Hong Kong',
QMS: 'QMS',
QPCD: 'QPcard AB',
QUAD: 'QuadLaser',
QUME: 'Qume',
RADI: 'Radius',
RDDx: 'Integrated Color Solutions',
RDG: 'Roland DG',
REDM: 'REDMS Group',
RELI: 'Relisys',
RGMS: 'Rolf Gierling Multitools',
RICO: 'Ricoh',
RNLD: 'Edmund Ronald',
ROYA: 'Royal',
RPC: 'Ricoh Printing Systems',
RTL: 'Royal Information Electronics',
SAMP: 'Sampo',
SAMS: 'Samsung',
SANT: 'Jaime Santana Pomares',
SCIT: 'Scitex',
SCRN: 'Dainippon Screen',
SDP: 'Scitex',
SEC: 'Samsung',
SEIK: 'Seiko Instruments',
SEIk: 'Seikosha',
SGUY: 'ScanGuy.com',
SHAR: 'Sharp Laboratories',
SICC: 'International Color Consortium',
SONY: 'Sony',
SPCL: 'SpectraCal',
STAR: 'Star',
STC: 'Sampo Technology',
Scit: 'Scitex',
Sdp: 'Scitex',
Sony: 'Sony',
TALO: 'Talon Technology',
TAND: 'Tandy',
TATU: 'Tatung',
TAXA: 'TAXAN America',
TDS: 'Tokyo Denshi Sekei',
TECO: 'TECO Information Systems',
TEGR: 'Tegra',
TEKT: 'Tektronix',
TI: 'Texas Instruments',
TMKR: 'TypeMaker',
TOSB: 'Toshiba',
TOSH: 'Toshiba',
TOTK: 'TOTOKU ELECTRIC',
TRIU: 'Triumph',
TSBT: 'Toshiba',
TTX: 'TTX Computer Products',
TVM: 'TVM Professional Monitor',
TW: 'TW Casper',
ULSX: 'Ulead Systems',
UNIS: 'Unisys',
UTZF: 'Utz Fehlau & Sohn',
VARI: 'Varityper',
VIEW: 'Viewsonic',
VISL: 'Visual communication',
VIVO: 'Vivo Mobile Communication',
WANG: 'Wang',
WLBR: 'Wilbur Imaging',
WTG2: 'Ware To Go',
WYSE: 'WYSE Technology',
XERX: 'Xerox',
XRIT: 'X-Rite',
ZRAN: 'Zoran',
Zebr: 'Zebra Technologies',
appl: 'Apple Computer',
bICC: 'basICColor',
berg: 'bergdesign',
ceyd: 'Integrated Color Solutions',
clsp: 'MacDermid ColorSpan',
ds: 'Dainippon Screen',
dupn: 'DuPont',
ffei: 'FujiFilm Electronic Imaging',
flux: 'FluxData',
iris: 'Scitex',
kart: 'Scitex',
lcms: 'Little CMS',
lino: 'Linotronic',
none: 'none',
ob4d: 'Erdt Systems',
obic: 'Medigraph',
quby: 'Qubyx Sarl',
scit: 'Scitex',
scrn: 'Dainippon Screen',
sdp: 'Scitex',
siwi: 'SIWI GRAFIKA',
yxym: 'YxyMaster',
}
// 12 ProfileClass
const devices = {
scnr: 'Scanner',
mntr: 'Monitor',
prtr: 'Printer',
link: 'Device Link',
abst: 'Abstract',
spac: 'Color Space Conversion Profile',
nmcl: 'Named Color',
cenc: 'ColorEncodingSpace profile',
mid: 'MultiplexIdentification profile',
mlnk: 'MultiplexLink profile',
mvis: 'MultiplexVisualization profile',
nkpf: 'Nikon Input Device Profile (NON-STANDARD!)',
}
const tech = {
amd: 'Active Matrix Display',
crt: 'Cathode Ray Tube Display',
kpcd: 'Photo CD',
pmd: 'Passive Matrix Display',
dcam: 'Digital Camera',
dcpj: 'Digital Cinema Projector',
dmpc: 'Digital Motion Picture Camera',
dsub: 'Dye Sublimation Printer',
epho: 'Electrophotographic Printer',
esta: 'Electrostatic Printer',
flex: 'Flexography',
fprn: 'Film Writer',
fscn: 'Film Scanner',
grav: 'Gravure',
ijet: 'Ink Jet Printer',
imgs: 'Photo Image Setter',
mpfr: 'Motion Picture Film Recorder',
mpfs: 'Motion Picture Film Scanner',
offs: 'Offset Lithography',
pjtv: 'Projection Television',
rpho: 'Photographic Paper Printer',
rscn: 'Reflective Scanner',
silk: 'Silkscreen',
twax: 'Thermal Wax Printer',
vidc: 'Video Camera',
vidm: 'Video Monitor',
}
createDictionary(tagValues, 'icc', [
[4, companies],
[12, devices],
[40, Object.assign({}, companies, devices)],
[48, companies],
[80, companies],
[64, {
0: 'Perceptual',
1: 'Relative Colorimetric',
2: 'Saturation',
3: 'Absolute Colorimetric',
}],
['tech', tech],
])