GIFReader.st
changeset 749 49c372aaf613
parent 732 db51a760126a
child 755 f1135dda53b1
--- a/GIFReader.st	Mon Dec 08 22:12:11 1997 +0100
+++ b/GIFReader.st	Thu Dec 18 11:47:43 1997 +0100
@@ -446,7 +446,7 @@
                 compressedSize := index - 1.
 
                 h := height.
-                data := ByteArray new:((width + 1) * (h + 1)).
+                data := ByteArray uninitializedNew:((width + 1) * (h + 1)).
 "/                'GIFReader: decompressing ...' infoPrintCR.
 
                 self class decompressGIFFrom:compressedData
@@ -457,7 +457,7 @@
 
                 interlaced ifTrue:[
 "/                    'GIFREADER: deinterlacing ...' infoPrintCR.
-                    tmp := ByteArray new:(data size).
+                    tmp := ByteArray uninitializedNew:(data size).
 
                     "phase 1: 0, 8, 16, 24, ..."
 
@@ -526,8 +526,8 @@
      GIFReader new fromStream:('/home2/cg/.misc/circum.gif' asFilename readStream)
     "
 
-    "Modified: 5.7.1996 / 17:32:01 / stefan"
-    "Modified: 14.10.1997 / 20:45:57 / cg"
+    "Modified: / 5.7.1996 / 17:32:01 / stefan"
+    "Modified: / 18.12.1997 / 10:23:38 / cg"
 !
 
 makeGreyscale
@@ -921,6 +921,6 @@
 !GIFReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.63 1997-11-02 17:32:36 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.64 1997-12-18 10:47:43 cg Exp $'
 ! !
 GIFReader initialize!