You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2013/11/28 12:39:04 UTC

svn commit: r1546349 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java

Author: ebourg
Date: Thu Nov 28 11:39:03 2013
New Revision: 1546349

URL: http://svn.apache.org/r1546349
Log:
Added the missing PSD image resource types

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java?rev=1546349&r1=1546348&r2=1546349&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java Thu Nov 28 11:39:03 2013
@@ -76,8 +76,40 @@ class ImageResourceType {
             new ImageResourceType(1053, "Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier."),
             new ImageResourceType(1054, "URL List. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and unicode string for each count."),
             new ImageResourceType(1057, "Version Info. 4 byte version, 1 byte HasRealMergedData, unicode string of writer name, unicode string of reader name, 4 bytes of file version."),
+            new ImageResourceType(1058, "EXIF data 1"),
+            new ImageResourceType(1059, "EXIF data 3"),
+            new ImageResourceType(1060, "XMP metadata"),
+            new ImageResourceType(1061, "Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm"),
+            new ImageResourceType(1062,"Print scale"),
+            new ImageResourceType(1064,"Pixel Aspect Ratio"),
+            new ImageResourceType(1065,"Layer Comps"),
+            new ImageResourceType(1066,"Alternate Duotone Colors"),
+            new ImageResourceType(1067,"Alternate Spot Colors"),
+            new ImageResourceType(1069,"Layer Selection ID(s)"),
+            new ImageResourceType(1070,"HDR Toning information"),
+            new ImageResourceType(1071,"Print info"),
+            new ImageResourceType(1072,"Layer Group(s) Enabled ID"),
+            new ImageResourceType(1073,"Color samplers resource"),
+            new ImageResourceType(1074,"Measurement Scale"),
+            new ImageResourceType(1075,"Timeline Information"),
+            new ImageResourceType(1076,"Sheet Disclosure"),
+            new ImageResourceType(1077,"DisplayInfo structure to support floating point clors"),
+            new ImageResourceType(1078,"Onion Skins"),
+            new ImageResourceType(1080,"Count Information. Information about the count in the document."),
+            new ImageResourceType(1082,"Print Information. Information about the current print settings in the document. The color management options."),
+            new ImageResourceType(1083,"Print Style. Information about the current print style in the document. The printing marks, labels, ornaments, etc."),
+            new ImageResourceType(1084,"Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo."),
+            new ImageResourceType(1085,"Windows DEVMODE. Variable OS specific info for Windows. DEVMODE."),
+            new ImageResourceType(1086,"Auto Save File Path"),
+            new ImageResourceType(1087,"Auto Save Format"),
+            new ImageResourceType(1088, "Path Selection State. Information about the current path selection state"),
             new ImageResourceType(2000, 2998, "Path Information (saved paths). See path resource format later in this chapter."),
             new ImageResourceType(2999, "Name of clipping path. See path resource format later in this chapter."),
+            new ImageResourceType(3000, "Origin Path Info"),
+            new ImageResourceType(4000, 4999, "Plug-In resource(s). Resources added by a plug-in"),
+            new ImageResourceType(7000, "Image Ready variables. XML representation of variables definition"),
+            new ImageResourceType(7001, "Image Ready data sets"),
+            new ImageResourceType(8000, "Lightroom workflow, if present the document is in the middle of a Lightroom workflow"),
             new ImageResourceType(10000, "Print flags information. 2 bytes version (=1), 1 byte center crop marks, 1 byte (=0), 4 bytes bleed width value, 2 bytes bleed width scale."),};
 
     public static String getDescription(final int id) {