changed #setColorType:
authorClaus Gittinger <cg@exept.de>
Wed, 05 Aug 2009 09:42:14 +0200
changeset 2702 30fb9cf6affa
parent 2701 8ca05242522e
child 2703 ebf1067a3289
changed #setColorType:
PNGReader.st
--- a/PNGReader.st	Mon Aug 03 19:01:40 2009 +0200
+++ b/PNGReader.st	Wed Aug 05 09:42:14 2009 +0200
@@ -635,7 +635,7 @@
             'PNGReader: invalid colorType/depth combination' infoPrintCR.
             ^ false.
         ].
-        photometric := #rgba.
+        photometric := #rgb.
         samplesPerPixel := 4.
         bitsPerSample := Array with:depth with:depth with:depth with:depth.
         ^ true.
@@ -790,7 +790,7 @@
 !PNGReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/PNGReader.st,v 1.19 2009-08-03 17:01:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/PNGReader.st,v 1.20 2009-08-05 07:42:14 cg Exp $'
 ! !
 
 PNGReader initialize!