exifreader 4.40.4 → 4.41.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.
@@ -10,16 +10,6 @@ import {
10
10
  strRepeat
11
11
  } from './utils.js';
12
12
 
13
- // export const OsTypeKeys = {
14
- // OBJC: 'Objc',
15
- // DOUB: 'doub',
16
- // UNTF: 'UntF',
17
- // TEXT: 'TEXT',
18
- // BOOL: 'bool',
19
- // ENUM: 'enum',
20
- // LONG: 'long'
21
- // };
22
-
23
13
  export const PathRecordTypes = {
24
14
  CLOSED_SUBPATH_LENGTH: 0,
25
15
  CLOSED_SUBPATH_BEZIER_LINKED: 1,
@@ -35,26 +25,6 @@ export const PathRecordTypes = {
35
25
  const PATH_RECORD_SIZE = 24;
36
26
 
37
27
  export default {
38
- // 0x0425: {
39
- // name: 'CaptionDigest',
40
- // description(dataView) {
41
- // let description = '';
42
- // for (let i = 0; i < dataView.byteLength; i++) {
43
- // const byte = dataView.getUint8(i);
44
- // description += padStart(byte.toString(16), 2, '0');
45
- // }
46
- // return description;
47
- // }
48
- // },
49
- // Commented out for now to lower bundle size until someone asks for it.
50
- // 0x043a: {
51
- // name: 'PrintInformation',
52
- // description: parseDescriptor
53
- // },
54
- // 0x043b: {
55
- // name: 'PrintStyle',
56
- // description: parseDescriptor
57
- // },
58
28
  0x07d0: {
59
29
  name: 'PathInformation',
60
30
  description: pathResource
@@ -68,112 +38,6 @@ export default {
68
38
  },
69
39
  };
70
40
 
71
- // function parseDescriptor(dataView) {
72
- // const DESCRIPTOR_VERSION_SIZE = 4;
73
- // // This is a unicode string terminated with null. Unsure about the format though since in my example image it starts with 0x0000.
74
- // const UNCLEAR_CLASS_ID_NAME_PART_SIZE = 6;
75
- // let offset = 0;
76
- // offset += DESCRIPTOR_VERSION_SIZE + UNCLEAR_CLASS_ID_NAME_PART_SIZE;
77
- // const [classId, classIdSize] = getBlockValue(dataView, offset);
78
- // offset += classIdSize;
79
- // const numItems = Types.getLongAt(dataView, offset);
80
- // offset += 4;
81
- // const descriptor = {[classId]: {}};
82
- // for (let i = 0; i < numItems; i++) {
83
- // const [itemKey, itemKeySize] = getBlockValue(dataView, offset);
84
- // offset += itemKeySize;
85
- // const osTypeKey = getStringFromDataView(dataView, offset, 4);
86
- // offset += 4;
87
- // try {
88
- // const {itemValue, itemSize} = getItemValue(dataView, offset, osTypeKey);
89
- // offset += itemSize;
90
- // descriptor[classId][ITEM_KEY_TERMS[itemKey] || itemKey] = itemValue;
91
- // } catch (error) {
92
- // // We can't recover from unknown OS type key since we don't know
93
- // // where the next one starts.
94
- // break;
95
- // }
96
- // }
97
- // return JSON.stringify(descriptor);
98
- // }
99
-
100
- // function getBlockValue(dataView, offset, unicode = false) {
101
- // const length = (unicode ? 2 : 1) * Types.getLongAt(dataView, offset) || 4;
102
- // offset += 4;
103
- // const value = (unicode ? getUnicodeStringFromDataView : getStringFromDataView)(dataView, offset, length);
104
- // offset += length;
105
- // return [value, 4 + length];
106
- // }
107
-
108
- // function getItemValue(dataView, offset, osTypeKey) {
109
- // // Not all OSType keys are implemented yet because they are missing in the example image.
110
- // if (osTypeKey === OsTypeKeys.OBJC) {
111
- // const [classIdName, classIdNameSize] = getBlockValue(dataView, offset, true);
112
- // offset += classIdNameSize;
113
- // const [classId, classIdSize] = getBlockValue(dataView, offset);
114
- // offset += classIdSize;
115
- // const _offset = Types.getLongAt(dataView, offset);
116
- // return {
117
- // itemValue: {[classIdName]: {[classId]: _offset}},
118
- // itemSize: classIdNameSize + classIdSize + 4
119
- // };
120
- // }
121
- // if (osTypeKey === OsTypeKeys.DOUB) {
122
- // return {
123
- // itemValue: parseDouble(dataView, offset),
124
- // itemSize: 8
125
- // };
126
- // }
127
- // if (osTypeKey === OsTypeKeys.UNTF) {
128
- // const unit = getStringFromDataView(dataView, offset, 4);
129
- // return {
130
- // itemValue: {unit, value: parseDouble(dataView, offset + 4)},
131
- // itemSize: unit.length + 8
132
- // };
133
- // }
134
- // if (osTypeKey === OsTypeKeys.TEXT) {
135
- // const length = 2 * Types.getLongAt(dataView, offset);
136
- // offset += 4;
137
- // const text = getUnicodeStringFromDataView(dataView, offset, length);
138
- // return {
139
- // itemValue: text,
140
- // itemSize: 4 + length
141
- // };
142
- // }
143
- // if (osTypeKey === OsTypeKeys.BOOL) {
144
- // return {
145
- // itemValue: Types.getByteAt(dataView, offset) === 1,
146
- // itemSize: 1
147
- // };
148
- // }
149
- // if (osTypeKey === OsTypeKeys.ENUM) {
150
- // const [type, typeSize] = getBlockValue(dataView, offset);
151
- // offset += typeSize;
152
- // const [enumName, enumSize] = getBlockValue(dataView, offset);
153
- // return {
154
- // itemValue: {[type]: enumName},
155
- // itemSize: typeSize + enumSize
156
- // };
157
- // }
158
- // if (osTypeKey === OsTypeKeys.LONG) {
159
- // return {
160
- // itemValue: Types.getLongAt(dataView, offset),
161
- // itemSize: 4
162
- // };
163
- // }
164
- // throw new Error(`Unknown OS type key: ${osTypeKey}`);
165
- // }
166
-
167
- // function parseDouble(dataView, offset) {
168
- // const BIAS = 1023;
169
- // const sign = (Types.getByteAt(dataView, offset) & parseInt('10000000', 2)) === 0 ? 1 : -1;
170
- // const exponent = ((Types.getShortAt(dataView, offset) & parseInt('0111111111110000', 2)) >> 4) - BIAS;
171
- // const fractionHigh = padStart((Types.getLongAt(dataView, offset) & parseInt('00000000000011111111111111111111', 2)).toString(2), 20, '0');
172
- // const fractionLow = padStart(Types.getLongAt(dataView, offset + 4).toString(2), 32, '0');
173
- // const fraction = parseFloatRadix('1.' + fractionHigh + fractionLow, 2);
174
- // return sign * fraction * Math.pow(2, exponent);
175
- // }
176
-
177
41
  function pathResource(dataView) {
178
42
  const TYPE_SIZE = 2;
179
43
  const types = {};
@@ -269,794 +133,3 @@ function getFixedPointNumber(dataView, offset, binaryPoint) {
269
133
 
270
134
  return sign * parseFloatRadix(integer.toString(2) + '.' + padStart(fraction.toString(2), 32 - binaryPoint, '0'), 2);
271
135
  }
272
-
273
- // Item key terminology: https://psd-tools.readthedocs.io/en/latest/reference/psd_tools.terminology.html
274
- // Are these correct? There are collisions that are commented out. A lot of code for little gain?
275
- // const ITEM_KEY_TERMS = {
276
- // 'A ': 'A',
277
- // 'Adjs': 'Adjustment',
278
- // 'Algd': 'Aligned',
279
- // 'Algn': 'Alignment',
280
- // 'AllE': 'AllExcept',
281
- // 'All ': 'AllPS',
282
- // 'AlTl': 'AllToolOptions',
283
- // 'AChn': 'AlphaChannelOptions',
284
- // 'AlpC': 'AlphaChannels',
285
- // 'AmbB': 'AmbientBrightness',
286
- // 'AmbC': 'AmbientColor',
287
- // 'Amnt': 'Amount',
288
- // 'AmMx': 'AmplitudeMax',
289
- // 'AmMn': 'AmplitudeMin',
290
- // 'Anch': 'Anchor',
291
- // 'Angl': 'Angle',
292
- // 'Ang1': 'Angle1',
293
- // 'Ang2': 'Angle2',
294
- // 'Ang3': 'Angle3',
295
- // 'Ang4': 'Angle4',
296
- // 'AntA': 'AntiAlias',
297
- // 'Appe': 'Append',
298
- // 'Aply': 'Apply',
299
- // 'Ar ': 'Area',
300
- // 'Arrw': 'Arrowhead',
301
- // 'As ': 'As',
302
- // 'Asst': 'AssetBin',
303
- // 'AssC': 'AssumedCMYK',
304
- // 'AssG': 'AssumedGray',
305
- // 'AssR': 'AssumedRGB',
306
- // 'At ': 'At',
307
- // 'Auto': 'Auto',
308
- // 'AuCo': 'AutoContrast',
309
- // 'Atrs': 'AutoErase',
310
- // 'AtKr': 'AutoKern',
311
- // 'AtUp': 'AutoUpdate',
312
- // 'Axis': 'Axis',
313
- // 'B ': 'B',
314
- // 'Bckg': 'Background',
315
- // 'BckC': 'BackgroundColor',
316
- // 'BckL': 'BackgroundLevel',
317
- // 'Bwd ': 'Backward',
318
- // 'Blnc': 'Balance',
319
- // 'Bsln': 'BaselineShift',
320
- // 'BpWh': 'BeepWhenDone',
321
- // 'BgnR': 'BeginRamp',
322
- // 'BgnS': 'BeginSustain',
323
- // 'bvlD': 'BevelDirection',
324
- // 'ebbl': 'BevelEmboss',
325
- // 'bvlS': 'BevelStyle',
326
- // 'bvlT': 'BevelTechnique',
327
- // 'BgNH': 'BigNudgeH',
328
- // 'BgNV': 'BigNudgeV',
329
- // 'BtDp': 'BitDepth',
330
- // 'Blck': 'Black',
331
- // 'BlcC': 'BlackClip',
332
- // 'Blcn': 'BlackGeneration',
333
- // 'BlcG': 'BlackGenerationCurve',
334
- // 'BlcI': 'BlackIntensity',
335
- // 'BlcL': 'BlackLevel',
336
- // // 'BlcL': 'BlackLimit',
337
- // 'Bld ': 'Bleed',
338
- // 'Blnd': 'BlendRange',
339
- // 'Bl ': 'Blue',
340
- // 'BlBl': 'BlueBlackPoint',
341
- // 'blueFloat': 'BlueFloat',
342
- // 'BlGm': 'BlueGamma',
343
- // 'BlWh': 'BlueWhitePoint',
344
- // 'BlX ': 'BlueX',
345
- // 'BlY ': 'BlueY',
346
- // 'blur': 'Blur',
347
- // 'BlrM': 'BlurMethod',
348
- // 'BlrQ': 'BlurQuality',
349
- // 'Bk ': 'Book',
350
- // 'BrdT': 'BorderThickness',
351
- // 'Btom': 'Bottom',
352
- // 'Brgh': 'Brightness',
353
- // 'BrsD': 'BrushDetail',
354
- // 'BrsS': 'BrushSize',
355
- // 'BrsT': 'BrushType',
356
- // 'Brsh': 'Brushes',
357
- // 'BmpA': 'BumpAmplitude',
358
- // 'BmpC': 'BumpChannel',
359
- // 'By ': 'By',
360
- // 'Byln': 'Byline',
361
- // 'BylT': 'BylineTitle',
362
- // 'BytO': 'ByteOrder',
363
- // 'CMYS': 'CMYKSetup',
364
- // 'CchP': 'CachePrefs',
365
- // 'Clcl': 'Calculation',
366
- // 'Clbr': 'CalibrationBars',
367
- // 'Cptn': 'Caption',
368
- // 'CptW': 'CaptionWriter',
369
- // 'Ctgr': 'Category',
370
- // 'ClSz': 'CellSize',
371
- // 'Cntr': 'Center',
372
- // 'CntC': 'CenterCropMarks',
373
- // 'ChlA': 'ChalkArea',
374
- // 'Chnl': 'Channel',
375
- // 'ChMx': 'ChannelMatrix',
376
- // 'ChnN': 'ChannelName',
377
- // 'Chns': 'Channels',
378
- // 'ChnI': 'ChannelsInterleaved',
379
- // 'ChAm': 'CharcoalAmount',
380
- // 'ChrA': 'CharcoalArea',
381
- // 'Ckmt': 'ChokeMatte',
382
- // 'ChFX': 'ChromeFX',
383
- // 'City': 'City',
384
- // 'ClrA': 'ClearAmount',
385
- // 'ClPt': 'ClippingPath',
386
- // 'ClpP': 'ClippingPathEPS',
387
- // 'ClpF': 'ClippingPathFlatness',
388
- // 'ClpI': 'ClippingPathIndex',
389
- // 'Clpg': 'ClippingPathInfo',
390
- // 'ClnS': 'CloneSource',
391
- // 'Clsp': 'ClosedSubpath',
392
- // 'Clr ': 'Color',
393
- // 'Clrh': 'ColorChannels',
394
- // 'ClrC': 'ColorCorrection',
395
- // 'ClrI': 'ColorIndicates',
396
- // 'ClMg': 'ColorManagement',
397
- // 'Clrr': 'ColorPickerPrefs',
398
- // 'ClrS': 'ColorSpace',
399
- // 'ClrT': 'ColorTable',
400
- // 'Clrz': 'Colorize',
401
- // 'Clrs': 'Colors',
402
- // 'ClrL': 'ColorsList',
403
- // 'ClmW': 'ColumnWidth',
404
- // 'CmdK': 'CommandKey',
405
- // 'Cmpn': 'Compensation',
406
- // 'Cmpr': 'Compression',
407
- // 'Cncv': 'Concavity',
408
- // 'Cndt': 'Condition',
409
- // 'Cnst': 'Constant',
410
- // // 'Cnst': 'Constrain',
411
- // 'CnsP': 'ConstrainProportions',
412
- // 'Cfov': 'ConstructionFOV',
413
- // 'Cntg': 'Contiguous',
414
- // 'Cntn': 'Continue',
415
- // 'Cnty': 'Continuity',
416
- // 'ShpC': 'ContourType',
417
- // // 'Cntr': 'Contrast',
418
- // 'Cnvr': 'Convert',
419
- // 'Cpy ': 'Copy',
420
- // 'Cpyr': 'Copyright',
421
- // 'CprN': 'CopyrightNotice',
422
- // 'CrnC': 'CornerCropMarks',
423
- // 'Cnt ': 'Count',
424
- // 'CntN': 'CountryName',
425
- // 'CrcB': 'CrackBrightness',
426
- // 'CrcD': 'CrackDepth',
427
- // 'CrcS': 'CrackSpacing',
428
- // 'blfl': 'CreateLayersFromLayerFX',
429
- // 'Crdt': 'Credit',
430
- // 'Crss': 'Crossover',
431
- // 'Crnt': 'Current',
432
- // 'CrnH': 'CurrentHistoryState',
433
- // 'CrnL': 'CurrentLight',
434
- // 'CrnT': 'CurrentToolOptions',
435
- // 'Crv ': 'Curve',
436
- // 'CrvF': 'CurveFile',
437
- // 'Cstm': 'Custom',
438
- // 'CstF': 'CustomForced',
439
- // 'CstM': 'CustomMatte',
440
- // 'CstP': 'CustomPalette',
441
- // 'Cyn ': 'Cyan',
442
- // 'DCS ': 'DCS',
443
- // 'DPXf': 'DPXFormat',
444
- // 'DrkI': 'DarkIntensity',
445
- // 'Drkn': 'Darkness',
446
- // 'DtCr': 'DateCreated',
447
- // 'Dt ': 'Datum',
448
- // 'Dfnt': 'Definition',
449
- // 'Dnst': 'Density',
450
- // 'Dpth': 'Depth',
451
- // 'Dstl': 'DestBlackMax',
452
- // 'DstB': 'DestBlackMin',
453
- // 'Dstt': 'DestWhiteMax',
454
- // 'DstW': 'DestWhiteMin',
455
- // 'DstM': 'DestinationMode',
456
- // 'Dtl ': 'Detail',
457
- // 'Dmtr': 'Diameter',
458
- // 'DffD': 'DiffusionDither',
459
- // 'Drct': 'Direction',
460
- // 'DrcB': 'DirectionBalance',
461
- // 'DspF': 'DisplaceFile',
462
- // 'DspM': 'DisplacementMap',
463
- // 'DspP': 'DisplayPrefs',
464
- // 'Dstn': 'Distance',
465
- // // 'Dstr': 'Distortion',
466
- // // 'Dstr': 'Distribution',
467
- // 'Dthr': 'Dither',
468
- // 'DthA': 'DitherAmount',
469
- // 'Dthp': 'DitherPreserve',
470
- // 'Dthq': 'DitherQuality',
471
- // 'DocI': 'DocumentID',
472
- // 'DtGn': 'DotGain',
473
- // 'DtGC': 'DotGainCurves',
474
- // 'DrSh': 'DropShadow',
475
- // 'Dplc': 'Duplicate',
476
- // 'DnmC': 'DynamicColorSliders',
477
- // 'Edg ': 'Edge',
478
- // 'EdgB': 'EdgeBrightness',
479
- // 'EdgF': 'EdgeFidelity',
480
- // 'EdgI': 'EdgeIntensity',
481
- // 'EdgS': 'EdgeSimplicity',
482
- // 'EdgT': 'EdgeThickness',
483
- // 'EdgW': 'EdgeWidth',
484
- // 'Effc': 'Effect',
485
- // 'EmbC': 'EmbedCMYK',
486
- // 'EmbG': 'EmbedGray',
487
- // 'EmbL': 'EmbedLab',
488
- // 'EmbP': 'EmbedProfiles',
489
- // 'EmbR': 'EmbedRGB',
490
- // 'EmlD': 'EmulsionDown',
491
- // 'EGst': 'EnableGestures',
492
- // 'enab': 'Enabled',
493
- // 'Encd': 'Encoding',
494
- // 'End ': 'End',
495
- // 'EndA': 'EndArrowhead',
496
- // 'EndR': 'EndRamp',
497
- // 'EndS': 'EndSustain',
498
- // 'Engn': 'Engine',
499
- // 'ErsT': 'EraseToHistory',
500
- // 'ErsK': 'EraserKind',
501
- // 'ExcP': 'ExactPoints',
502
- // 'Expr': 'Export',
503
- // 'ExpC': 'ExportClipboard',
504
- // 'Exps': 'Exposure',
505
- // 'Extd': 'Extend',
506
- // 'EQlt': 'ExtendedQuality',
507
- // 'Extn': 'Extension',
508
- // 'ExtQ': 'ExtensionsQuery',
509
- // 'ExtD': 'ExtrudeDepth',
510
- // 'ExtM': 'ExtrudeMaskIncomplete',
511
- // 'ExtR': 'ExtrudeRandom',
512
- // 'ExtS': 'ExtrudeSize',
513
- // 'ExtF': 'ExtrudeSolidFace',
514
- // 'ExtT': 'ExtrudeType',
515
- // 'EyDr': 'EyeDropperSample',
516
- // 'FxCm': 'FPXCompress',
517
- // 'FxQl': 'FPXQuality',
518
- // 'FxSz': 'FPXSize',
519
- // 'FxVw': 'FPXView',
520
- // 'FdT ': 'FadeTo',
521
- // 'FdtS': 'FadeoutSteps',
522
- // 'FlOf': 'Falloff',
523
- // 'Fthr': 'Feather',
524
- // 'FbrL': 'FiberLength',
525
- // 'File': 'File',
526
- // 'FlCr': 'FileCreator',
527
- // 'FlIn': 'FileInfo',
528
- // 'FilR': 'FileReference',
529
- // 'FlSP': 'FileSavePrefs',
530
- // 'FlTy': 'FileType',
531
- // 'flst': 'FilesList',
532
- // 'Fl ': 'Fill',
533
- // 'FlCl': 'FillColor',
534
- // 'FlNt': 'FillNeutral',
535
- // 'FlPd': 'FilterLayerPersistentData',
536
- // 'FlRs': 'FilterLayerRandomSeed',
537
- // 'Fngr': 'Fingerpainting',
538
- // 'FlrC': 'FlareCenter',
539
- // 'Fltn': 'Flatness',
540
- // 'Fltt': 'Flatten',
541
- // 'FlpV': 'FlipVertical',
542
- // 'Fcs ': 'Focus',
543
- // 'Fldr': 'Folders',
544
- // 'FntD': 'FontDesignAxes',
545
- // 'FntV': 'FontDesignAxesVectors',
546
- // 'FntN': 'FontName',
547
- // 'Scrp': 'FontScript',
548
- // 'FntS': 'FontStyleName',
549
- // 'FntT': 'FontTechnology',
550
- // 'FrcC': 'ForcedColors',
551
- // 'FrgC': 'ForegroundColor',
552
- // 'FrgL': 'ForegroundLevel',
553
- // 'Fmt ': 'Format',
554
- // 'Fwd ': 'Forward',
555
- // 'FrFX': 'FrameFX',
556
- // 'FrmW': 'FrameWidth',
557
- // 'FTcs': 'FreeTransformCenterState',
558
- // 'Frqn': 'Frequency',
559
- // 'From': 'From',
560
- // 'FrmB': 'FromBuiltin',
561
- // 'FrmM': 'FromMode',
562
- // 'FncK': 'FunctionKey',
563
- // 'Fzns': 'Fuzziness',
564
- // 'GCR ': 'GCR',
565
- // 'GFPT': 'GIFColorFileType',
566
- // 'GFCL': 'GIFColorLimit',
567
- // 'GFEC': 'GIFExportCaption',
568
- // 'GFMI': 'GIFMaskChannelIndex',
569
- // 'GFMV': 'GIFMaskChannelInverted',
570
- // 'GFPF': 'GIFPaletteFile',
571
- // 'GFPL': 'GIFPaletteType',
572
- // 'GFCS': 'GIFRequiredColorSpaceType',
573
- // 'GFIT': 'GIFRowOrderType',
574
- // 'GFTC': 'GIFTransparentColor',
575
- // 'GFTB': 'GIFTransparentIndexBlue',
576
- // 'GFTG': 'GIFTransparentIndexGreen',
577
- // 'GFTR': 'GIFTransparentIndexRed',
578
- // 'GFBM': 'GIFUseBestMatch',
579
- // 'Gmm ': 'Gamma',
580
- // 'GmtW': 'GamutWarning',
581
- // 'GnrP': 'GeneralPrefs',
582
- // 'gblA': 'GlobalAngle',
583
- // 'gagl': 'GlobalLightingAngle',
584
- // 'Glos': 'Gloss',
585
- // 'GlwA': 'GlowAmount',
586
- // 'GlwT': 'GlowTechnique',
587
- // 'Grad': 'Gradient',
588
- // 'Grdf': 'GradientFill',
589
- // // 'Grn ': 'Grain',
590
- // 'Grnt': 'GrainType',
591
- // 'Grns': 'Graininess',
592
- // 'Gry ': 'Gray',
593
- // 'GrBh': 'GrayBehavior',
594
- // 'GrSt': 'GraySetup',
595
- // 'Grn ': 'Green',
596
- // 'GrnB': 'GreenBlackPoint',
597
- // 'greenFloat': 'GreenFloat',
598
- // 'GrnG': 'GreenGamma',
599
- // 'GrnW': 'GreenWhitePoint',
600
- // 'GrnX': 'GreenX',
601
- // 'GrnY': 'GreenY',
602
- // 'GrdC': 'GridColor',
603
- // 'Grds': 'GridCustomColor',
604
- // 'GrdM': 'GridMajor',
605
- // 'Grdn': 'GridMinor',
606
- // 'GrdS': 'GridStyle',
607
- // 'Grdt': 'GridUnits',
608
- // 'Grup': 'Group',
609
- // 'GrtW': 'GroutWidth',
610
- // 'GrwS': 'GrowSelection',
611
- // 'Gdes': 'Guides',
612
- // 'GdsC': 'GuidesColor',
613
- // 'Gdss': 'GuidesCustomColor',
614
- // 'GdPr': 'GuidesPrefs',
615
- // 'GdsS': 'GuidesStyle',
616
- // 'GttW': 'GutterWidth',
617
- // 'HlfF': 'HalftoneFile',
618
- // 'HlfS': 'HalftoneScreen',
619
- // 'HlSz': 'HalftoneSize',
620
- // 'Hlfp': 'HalftoneSpec',
621
- // 'Hrdn': 'Hardness',
622
- // 'HCdH': 'HasCmdHPreference',
623
- // 'Hdr ': 'Header',
624
- // 'Hdln': 'Headline',
625
- // 'Hght': 'Height',
626
- // 'HghA': 'HighlightArea',
627
- // 'hglC': 'HighlightColor',
628
- // 'HghL': 'HighlightLevels',
629
- // 'hglM': 'HighlightMode',
630
- // 'hglO': 'HighlightOpacity',
631
- // 'HghS': 'HighlightStrength',
632
- // 'HstB': 'HistoryBrushSource',
633
- // 'HstP': 'HistoryPrefs',
634
- // 'HsSS': 'HistoryStateSource',
635
- // 'HsSt': 'HistoryStates',
636
- // 'Hrzn': 'Horizontal',
637
- // 'HrzS': 'HorizontalScale',
638
- // 'HstN': 'HostName',
639
- // 'HstV': 'HostVersion',
640
- // 'H ': 'Hue',
641
- // 'ICCE': 'ICCEngine',
642
- // 'ICCt': 'ICCSetupName',
643
- // 'Idnt': 'ID',
644
- // 'Idle': 'Idle',
645
- // 'ImgB': 'ImageBalance',
646
- // 'Impr': 'Import',
647
- // 'Imps': 'Impressionist',
648
- // 'In ': 'In',
649
- // 'c@#^': 'Inherits',
650
- // 'InkC': 'InkColors',
651
- // 'Inks': 'Inks',
652
- // 'IrGl': 'InnerGlow',
653
- // 'glwS': 'InnerGlowSource',
654
- // 'IrSh': 'InnerShadow',
655
- // 'Inpt': 'Input',
656
- // 'kIBP': 'InputBlackPoint',
657
- // 'Inmr': 'InputMapRange',
658
- // 'Inpr': 'InputRange',
659
- // 'kIWP': 'InputWhitePoint',
660
- // 'Intn': 'Intensity',
661
- // 'Inte': 'Intent',
662
- // 'IntH': 'InterfaceBevelHighlight',
663
- // 'Intv': 'InterfaceBevelShadow',
664
- // 'IntB': 'InterfaceBlack',
665
- // 'Intd': 'InterfaceBorder',
666
- // 'Intk': 'InterfaceButtonDarkShadow',
667
- // 'Intt': 'InterfaceButtonDownFill',
668
- // 'InBF': 'InterfaceButtonUpFill',
669
- // 'ICBL': 'InterfaceColorBlue2',
670
- // 'ICBH': 'InterfaceColorBlue32',
671
- // 'ICGL': 'InterfaceColorGreen2',
672
- // 'ICGH': 'InterfaceColorGreen32',
673
- // 'ICRL': 'InterfaceColorRed2',
674
- // 'ICRH': 'InterfaceColorRed32',
675
- // 'IntI': 'InterfaceIconFillActive',
676
- // 'IntF': 'InterfaceIconFillDimmed',
677
- // 'Intc': 'InterfaceIconFillSelected',
678
- // 'Intm': 'InterfaceIconFrameActive',
679
- // // 'Intr': 'InterfaceIconFrameDimmed',
680
- // 'IntS': 'InterfaceIconFrameSelected',
681
- // 'IntP': 'InterfacePaletteFill',
682
- // 'IntR': 'InterfaceRed',
683
- // 'IntT': 'InterfaceToolTipBackground',
684
- // 'ITTT': 'InterfaceToolTipText',
685
- // 'ITBg': 'InterfaceTransparencyBackground',
686
- // 'ITFg': 'InterfaceTransparencyForeground',
687
- // 'IntW': 'InterfaceWhite',
688
- // // 'Intr': 'Interlace',
689
- // 'IntC': 'InterlaceCreateType',
690
- // 'IntE': 'InterlaceEliminateType',
691
- // // 'Intr': 'Interpolation',
692
- // 'IntM': 'InterpolationMethod',
693
- // 'Invr': 'Invert',
694
- // 'InvM': 'InvertMask',
695
- // 'InvS': 'InvertSource2',
696
- // 'InvT': 'InvertTexture',
697
- // 'IsDr': 'IsDirty',
698
- // 'ItmI': 'ItemIndex',
699
- // 'JPEQ': 'JPEGQuality',
700
- // 'Krng': 'Kerning',
701
- // 'Kywd': 'Keywords',
702
- // 'Knd ': 'Kind',
703
- // 'LTnm': 'LUTAnimation',
704
- // 'LZWC': 'LZWCompression',
705
- // 'Lbls': 'Labels',
706
- // 'Lnds': 'Landscape',
707
- // 'LstT': 'LastTransform',
708
- // 'Lyr ': 'Layer',
709
- // 'Lefx': 'LayerEffects',
710
- // 'lfxv': 'LayerFXVisible',
711
- // 'LyrI': 'LayerID',
712
- // 'LyrN': 'LayerName',
713
- // 'Lyrs': 'Layers',
714
- // 'Ldng': 'Leading',
715
- // 'Left': 'Left',
716
- // 'lSNs': 'LegacySerialString',
717
- // // 'Lngt': 'Length',
718
- // 'Lns ': 'Lens',
719
- // 'Lvl ': 'Level',
720
- // 'Lvls': 'Levels',
721
- // 'LgDr': 'LightDark',
722
- // 'LghD': 'LightDirection',
723
- // 'LghI': 'LightIntensity',
724
- // 'LghP': 'LightPosition',
725
- // 'LghS': 'LightSource',
726
- // 'LghT': 'LightType',
727
- // 'LghG': 'LightenGrout',
728
- // 'Lght': 'Lightness',
729
- // 'Line': 'Line',
730
- // 'lnkE': 'LinkEnable',
731
- // 'LnkL': 'LinkedLayerIDs',
732
- // 'Lald': 'LocalLightingAltitude',
733
- // 'lagl': 'LocalLightingAngle',
734
- // 'LclR': 'LocalRange',
735
- // 'Lctn': 'Location',
736
- // 'Log ': 'Log',
737
- // 'kLog': 'Logarithmic',
738
- // 'LwCs': 'LowerCase',
739
- // 'Lmnc': 'Luminance',
740
- // 'Mgnt': 'Magenta',
741
- // 'MkVs': 'MakeVisible',
742
- // 'Mfov': 'ManipulationFOV',
743
- // 'MpBl': 'MapBlack',
744
- // 'Mpng': 'Mapping',
745
- // 'MpgS': 'MappingShape',
746
- // 'Mtrl': 'Material',
747
- // 'Mtrx': 'Matrix',
748
- // 'MttC': 'MatteColor',
749
- // 'Mxm ': 'Maximum',
750
- // 'MxmS': 'MaximumStates',
751
- // 'MmrU': 'MemoryUsagePercent',
752
- // 'Mrge': 'Merge',
753
- // 'Mrgd': 'Merged',
754
- // 'Msge': 'Message',
755
- // 'Mthd': 'Method',
756
- // 'MztT': 'MezzotintType',
757
- // 'Mdpn': 'Midpoint',
758
- // 'MdtL': 'MidtoneLevels',
759
- // 'Mnm ': 'Minimum',
760
- // 'MsmC': 'MismatchCMYK',
761
- // 'MsmG': 'MismatchGray',
762
- // 'MsmR': 'MismatchRGB',
763
- // 'Md ': 'Mode',
764
- // 'Mnch': 'Monochromatic',
765
- // 'MvT ': 'MoveTo',
766
- // 'Nm ': 'Name',
767
- // 'Ngtv': 'Negative',
768
- // 'Nw ': 'New',
769
- // 'Nose': 'Noise',
770
- // 'NnIm': 'NonImageData',
771
- // 'NnLn': 'NonLinear',
772
- // 'null': 'Null',
773
- // 'Nm L': 'NumLights',
774
- // 'Nmbr': 'Number',
775
- // 'NCch': 'NumberOfCacheLevels',
776
- // 'NC64': 'NumberOfCacheLevels64',
777
- // 'NmbO': 'NumberOfChannels',
778
- // 'NmbC': 'NumberOfChildren',
779
- // 'NmbD': 'NumberOfDocuments',
780
- // 'NmbG': 'NumberOfGenerators',
781
- // // 'NmbL': 'NumberOfLayers',
782
- // // 'NmbL': 'NumberOfLevels',
783
- // 'NmbP': 'NumberOfPaths',
784
- // 'NmbR': 'NumberOfRipples',
785
- // 'NmbS': 'NumberOfSiblings',
786
- // 'ObjN': 'ObjectName',
787
- // 'Ofst': 'Offset',
788
- // 'Sftt': 'OldSmallFontType',
789
- // 'On ': 'On',
790
- // 'Opct': 'Opacity',
791
- // 'Optm': 'Optimized',
792
- // 'Ornt': 'Orientation',
793
- // 'OrgH': 'OriginalHeader',
794
- // 'OrgT': 'OriginalTransmissionReference',
795
- // 'OthC': 'OtherCursors',
796
- // 'OrGl': 'OuterGlow',
797
- // 'Otpt': 'Output',
798
- // 'kOBP': 'OutputBlackPoint',
799
- // 'kOWP': 'OutputWhitePoint',
800
- // 'OvrC': 'OverprintColors',
801
- // 'OvrO': 'OverrideOpen',
802
- // 'ObrP': 'OverridePrinter',
803
- // 'Ovrd': 'OverrideSave',
804
- // 'PNGf': 'PNGFilter',
805
- // 'PGIT': 'PNGInterlaceType',
806
- // 'PMpf': 'PageFormat',
807
- // 'PgNm': 'PageNumber',
808
- // 'PgPs': 'PagePosition',
809
- // 'PgSt': 'PageSetup',
810
- // 'PnCK': 'PaintCursorKind',
811
- // 'PntT': 'PaintType',
812
- // 'PntC': 'PaintingCursors',
813
- // 'Plt ': 'Palette',
814
- // 'PltF': 'PaletteFile',
815
- // 'PprB': 'PaperBrightness',
816
- // 'PrIn': 'ParentIndex',
817
- // 'PrNm': 'ParentName',
818
- // 'Path': 'Path',
819
- // 'PthC': 'PathContents',
820
- // 'PthN': 'PathName',
821
- // 'Pttn': 'Pattern',
822
- // 'Pncl': 'PencilWidth',
823
- // 'Prsp': 'PerspectiveIndex',
824
- // 'Phsp': 'Phosphors',
825
- // 'PckI': 'PickerID',
826
- // 'Pckr': 'PickerKind',
827
- // 'PPSz': 'PixelPaintSize',
828
- // 'Pltf': 'Platform',
829
- // 'PlgF': 'PluginFolder',
830
- // 'PlgP': 'PluginPrefs',
831
- // 'Pts ': 'Points',
832
- // 'Pstn': 'Position',
833
- // 'PstS': 'PostScriptColor',
834
- // 'Pstr': 'Posterization',
835
- // 'PrdC': 'PredefinedColors',
836
- // 'PrfB': 'PreferBuiltin',
837
- // 'Prfr': 'Preferences',
838
- // 'PrsA': 'PreserveAdditional',
839
- // 'PrsL': 'PreserveLuminosity',
840
- // 'PrsT': 'PreserveTransparency',
841
- // 'Prs ': 'Pressure',
842
- // 'Prvw': 'Preview',
843
- // 'PrvK': 'PreviewCMYK',
844
- // 'PrvF': 'PreviewFullSize',
845
- // 'PrvI': 'PreviewIcon',
846
- // 'PrvM': 'PreviewMacThumbnail',
847
- // 'PrvW': 'PreviewWinThumbnail',
848
- // 'PrvQ': 'PreviewsQuery',
849
- // 'PMps': 'PrintSettings',
850
- // 'PrfS': 'ProfileSetup',
851
- // 'PrvS': 'ProvinceState',
852
- // 'Qlty': 'Quality',
853
- // 'QucM': 'QuickMask',
854
- // 'RGBS': 'RGBSetup',
855
- // 'Rds ': 'Radius',
856
- // 'RndS': 'RandomSeed',
857
- // 'Rt ': 'Ratio',
858
- // 'Rcnf': 'RecentFiles',
859
- // 'Rd ': 'Red',
860
- // 'RdBl': 'RedBlackPoint',
861
- // 'redFloat': 'RedFloat',
862
- // 'RdGm': 'RedGamma',
863
- // 'RdWh': 'RedWhitePoint',
864
- // 'RdX ': 'RedX',
865
- // 'RdY ': 'RedY',
866
- // 'RgsM': 'RegistrationMarks',
867
- // 'Rltv': 'Relative',
868
- // 'Rlf ': 'Relief',
869
- // 'Rfid': 'RenderFidelity',
870
- // 'Rsmp': 'Resample',
871
- // 'RWOZ': 'ResizeWindowsOnZoom',
872
- // 'Rslt': 'Resolution',
873
- // 'RsrI': 'ResourceID',
874
- // 'Rspn': 'Response',
875
- // 'RtnH': 'RetainHeader',
876
- // 'Rvrs': 'Reverse',
877
- // 'Rght': 'Right',
878
- // 'RplM': 'RippleMagnitude',
879
- // 'RplS': 'RippleSize',
880
- // 'Rtt ': 'Rotate',
881
- // 'Rndn': 'Roundness',
882
- // 'RlrH': 'RulerOriginH',
883
- // 'RlrV': 'RulerOriginV',
884
- // 'RlrU': 'RulerUnits',
885
- // // 'Strt': 'Saturation',
886
- // 'SvAn': 'SaveAndClose',
887
- // 'SvCm': 'SaveComposite',
888
- // 'PltL': 'SavePaletteLocations',
889
- // 'SvPt': 'SavePaths',
890
- // 'SvPy': 'SavePyramids',
891
- // 'Svng': 'Saving',
892
- // 'Scl ': 'Scale',
893
- // 'SclH': 'ScaleHorizontal',
894
- // 'SclV': 'ScaleVertical',
895
- // 'Scln': 'Scaling',
896
- // 'Scns': 'Scans',
897
- // 'ScrD': 'ScratchDisks',
898
- // 'ScrF': 'ScreenFile',
899
- // 'ScrT': 'ScreenType',
900
- // 'Sprt': 'Separations',
901
- // 'SrlS': 'SerialString',
902
- // // 'ShdI': 'ShadingIntensity',
903
- // 'ShdN': 'ShadingNoise',
904
- // 'ShdS': 'ShadingShape',
905
- // 'sdwC': 'ShadowColor',
906
- // // 'ShdI': 'ShadowIntensity',
907
- // 'ShdL': 'ShadowLevels',
908
- // 'sdwM': 'ShadowMode',
909
- // 'sdwO': 'ShadowOpacity',
910
- // 'Shp ': 'Shape',
911
- // 'Shrp': 'Sharpness',
912
- // 'ShrE': 'ShearEd',
913
- // 'ShrP': 'ShearPoints',
914
- // 'ShrS': 'ShearSt',
915
- // 'ShfK': 'ShiftKey',
916
- // 'ShKT': 'ShiftKeyToolSwitch',
917
- // 'ShrN': 'ShortNames',
918
- // 'ShwE': 'ShowEnglishFontNames',
919
- // 'SwMC': 'ShowMenuColors',
920
- // 'ShwT': 'ShowToolTips',
921
- // 'ShTr': 'ShowTransparency',
922
- // 'Sz ': 'SizeKey',
923
- // 'Skew': 'Skew',
924
- // 'Sfts': 'SmallFontType',
925
- // 'SmBM': 'SmartBlurMode',
926
- // 'SmBQ': 'SmartBlurQuality',
927
- // 'Smoo': 'Smooth',
928
- // 'Smth': 'Smoothness',
929
- // 'SnpI': 'SnapshotInitial',
930
- // 'SfCl': 'SoftClip',
931
- // 'Sftn': 'Softness',
932
- // 'SoFi': 'SolidFill',
933
- // 'Srce': 'Source',
934
- // 'Src2': 'Source2',
935
- // 'SrcM': 'SourceMode',
936
- // 'Spcn': 'Spacing',
937
- // 'SpcI': 'SpecialInstructions',
938
- // 'SphM': 'SpherizeMode',
939
- // 'Spot': 'Spot',
940
- // 'SprR': 'SprayRadius',
941
- // 'SqrS': 'SquareSize',
942
- // 'Srcl': 'SrcBlackMax',
943
- // 'SrcB': 'SrcBlackMin',
944
- // 'Srcm': 'SrcWhiteMax',
945
- // 'SrcW': 'SrcWhiteMin',
946
- // // 'Strt': 'Start',
947
- // 'StrA': 'StartArrowhead',
948
- // 'Stte': 'State',
949
- // 'srgh': 'Strength',
950
- // 'srgR': 'StrengthRatio',
951
- // 'Strg': 'Strength_PLUGIN',
952
- // 'StDt': 'StrokeDetail',
953
- // 'SDir': 'StrokeDirection',
954
- // 'StrL': 'StrokeLength',
955
- // 'StrP': 'StrokePressure',
956
- // 'StrS': 'StrokeSize',
957
- // 'StrW': 'StrokeWidth',
958
- // 'Styl': 'Style',
959
- // 'Stys': 'Styles',
960
- // 'StlC': 'StylusIsColor',
961
- // 'StlO': 'StylusIsOpacity',
962
- // 'StlP': 'StylusIsPressure',
963
- // 'StlS': 'StylusIsSize',
964
- // 'SbpL': 'SubPathList',
965
- // 'SplC': 'SupplementalCategories',
966
- // 'SstI': 'SystemInfo',
967
- // 'SstP': 'SystemPalette',
968
- // // 'null': 'Target',
969
- // 'Trgp': 'TargetPath',
970
- // 'TrgP': 'TargetPathIndex',
971
- // // 'Lngt': 'TermLength',
972
- // 'Txt ': 'Text',
973
- // // 'TxtC': 'TextClickPoint',
974
- // 'TxtD': 'TextData',
975
- // 'TxtS': 'TextStyle',
976
- // 'Txtt': 'TextStyleRange',
977
- // 'Txtr': 'Texture',
978
- // // 'TxtC': 'TextureCoverage',
979
- // 'TxtF': 'TextureFile',
980
- // 'TxtT': 'TextureType',
981
- // 'Thsh': 'Threshold',
982
- // 'TlNm': 'TileNumber',
983
- // 'TlOf': 'TileOffset',
984
- // 'TlSz': 'TileSize',
985
- // 'Ttl ': 'Title',
986
- // 'T ': 'To',
987
- // 'TBl ': 'ToBuiltin',
988
- // 'ToLk': 'ToLinked',
989
- // 'TMd ': 'ToMode',
990
- // 'TglO': 'ToggleOthers',
991
- // 'Tlrn': 'Tolerance',
992
- // 'Top ': 'Top',
993
- // 'TtlL': 'TotalLimit',
994
- // 'Trck': 'Tracking',
995
- // 'TrnF': 'TransferFunction',
996
- // // 'TrnS': 'TransferSpec',
997
- // 'Trns': 'Transparency',
998
- // // 'TrnG': 'TransparencyGrid',
999
- // 'TrnC': 'TransparencyGridColors',
1000
- // // 'TrnG': 'TransparencyGridSize',
1001
- // 'TrnP': 'TransparencyPrefs',
1002
- // // 'TrnS': 'TransparencyShape',
1003
- // 'TrnI': 'TransparentIndex',
1004
- // 'TrnW': 'TransparentWhites',
1005
- // 'Twst': 'Twist',
1006
- // 'Type': 'Type',
1007
- // 'UC ': 'UCA',
1008
- // 'URL ': 'URL',
1009
- // 'UndA': 'UndefinedArea',
1010
- // 'Undl': 'Underline',
1011
- // 'UntP': 'UnitsPrefs',
1012
- // 'Untl': 'Untitled',
1013
- // 'UppY': 'UpperY',
1014
- // 'Urgn': 'Urgency',
1015
- // 'AcrS': 'UseAccurateScreens',
1016
- // 'AdPl': 'UseAdditionalPlugins',
1017
- // 'UsCc': 'UseCacheForHistograms',
1018
- // 'UsCr': 'UseCurves',
1019
- // 'UsDf': 'UseDefault',
1020
- // 'uglg': 'UseGlobalAngle',
1021
- // 'UsIC': 'UseICCProfile',
1022
- // 'UsMs': 'UseMask',
1023
- // 'UsrM': 'UserMaskEnabled',
1024
- // 'Usrs': 'UserMaskLinked',
1025
- // 'Usng': 'Using',
1026
- // 'Vl ': 'Value',
1027
- // 'Vrnc': 'Variance',
1028
- // 'Vct0': 'Vector0',
1029
- // 'Vct1': 'Vector1',
1030
- // 'VctC': 'VectorColor',
1031
- // 'VrsF': 'VersionFix',
1032
- // 'VrsM': 'VersionMajor',
1033
- // 'VrsN': 'VersionMinor',
1034
- // 'Vrtc': 'Vertical',
1035
- // 'VrtS': 'VerticalScale',
1036
- // 'Vdlp': 'VideoAlpha',
1037
- // 'Vsbl': 'Visible',
1038
- // 'WtcS': 'WatchSuspension',
1039
- // 'watr': 'Watermark',
1040
- // 'Wvtp': 'WaveType',
1041
- // 'WLMx': 'WavelengthMax',
1042
- // 'WLMn': 'WavelengthMin',
1043
- // 'WbdP': 'WebdavPrefs',
1044
- // 'Wtdg': 'WetEdges',
1045
- // 'What': 'What',
1046
- // 'WhtC': 'WhiteClip',
1047
- // 'WhtI': 'WhiteIntensity',
1048
- // 'WhHi': 'WhiteIsHigh',
1049
- // 'WhtL': 'WhiteLevel',
1050
- // 'WhtP': 'WhitePoint',
1051
- // 'WhPt': 'WholePath',
1052
- // 'Wdth': 'Width',
1053
- // 'WndM': 'WindMethod',
1054
- // 'With': 'With',
1055
- // 'WrPt': 'WorkPath',
1056
- // 'WrkP': 'WorkPathIndex',
1057
- // 'X ': 'X',
1058
- // 'Y ': 'Y',
1059
- // 'Ylw ': 'Yellow',
1060
- // 'ZZTy': 'ZigZagType',
1061
- // 'Alis': '_3DAntiAlias',
1062
- // };