PNGReader.st
changeset 3891 1fea387a7b01
parent 3890 37131d0d77c6
child 3893 f485ae4fced3
--- a/PNGReader.st	Tue Feb 14 19:08:32 2017 +0100
+++ b/PNGReader.st	Tue Feb 14 22:37:50 2017 +0100
@@ -242,13 +242,15 @@
         ].
     ].
 
+    type = 'niVI' ifTrue:[^ self processNIVIChunkLen:len].
+
     ('PNGReader: unrecognized chunk: ' , type , ' ignored.') infoPrintCR.
 
     inStream skip:len.
     ^ true.
 
     "Created: / 21-06-1996 / 21:10:37 / cg"
-    "Modified: / 14-02-2017 / 11:46:40 / cg"
+    "Modified: / 14-02-2017 / 22:37:29 / cg"
 !
 
 processGAMAChunkLen:len
@@ -413,11 +415,12 @@
     "/ ignored for now...
     "/ ...to read it (using the expecco importer),
     "/ create a reader with a chunkHook and extract it there.
+    Logger info:('PNG: skip niVI chunk').
     inStream skip:len.
     ^ true.
 
     "Created: / 14-02-2017 / 08:57:29 / cg"
-    "Modified: / 14-02-2017 / 18:26:13 / cg"
+    "Modified: / 14-02-2017 / 22:36:34 / cg"
 !
 
 processNonInterlacedDATA:len