[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r1546546 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/format
From:       ebourg () apache ! org
Date:       2013-11-29 11:45:41
Message-ID: 20131129114541.4E9DD23888E7 () eris ! apache ! org
[Download RAW message or body]

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/apach \
e/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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic