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/29 12:45:41 UTC

svn commit: r1546546 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java

Author: ebourg
Date: Fri Nov 29 11:45:40 2013
New Revision: 1546546

URL: http://svn.apache.org/r1546546
Log:
Added the missing PNG chunk types

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java?rev=1546546&r1=1546545&r2=1546546&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/ChunkType.java Fri Nov 29 11:45:40 2013
@@ -24,7 +24,7 @@ import org.apache.commons.imaging.common
  * @see <a href="http://www.w3.org/TR/PNG/#11Chunks">Portable Network Graphics Specification - Chunk specifications</a>
  */
 public enum ChunkType {
-    
+
     /** Image header */
     IHDR,
 
@@ -40,12 +40,18 @@ public enum ChunkType {
     /** Transparency */
     tRNS,
 
+    /** Primary chromaticities and white point */
+    cHRM,
+
     /** Image gamma */
     gAMA,
 
     /** Embedded ICC profile */
     iCCP,
 
+    /** Significant bits*/
+    sBIT,
+
     /** Standard RGB colour space */
     sRGB,
 
@@ -58,8 +64,20 @@ public enum ChunkType {
     /** International textual data */
     iTXt,
 
+    /** Background colour */
+    bKGD,
+
+    /** Image histogram */
+    hIST,
+
     /** Physical pixel dimensions */
-    pHYs;
+    pHYs,
+
+    /** Suggested palette */
+    sPLT,
+
+    /** Image last-modification time */
+    tIME;
 
     final byte[] array;
     final int value;