PNGReader.st
changeset 398 aef700d15416
parent 308 ba8b8191d8b6
child 647 6f26c76aa0c9
--- a/PNGReader.st	Fri Jan 31 18:59:54 1997 +0100
+++ b/PNGReader.st	Sat Feb 01 15:07:04 1997 +0100
@@ -20,7 +20,7 @@
 	category:'Graphics-Images-Support'
 !
 
-!PNGReader  class methodsFor:'documentation'!
+!PNGReader class methodsFor:'documentation'!
 
 copyright
 "
@@ -55,20 +55,18 @@
 
 ! !
 
-!PNGReader  class methodsFor:'initialization'!
+!PNGReader class methodsFor:'initialization'!
 
 initialize
     "install myself in the Image classes fileFormat table
-     for the `.png', and '.PNG' extensions."
+     for the `.png' extension."
 
-    Image fileFormats at:'.png'  put:self.
-    Image fileFormats at:'.PNG'  put:self.
+    Image addReader:self suffix:'png'.
 
-    "Modified: 23.4.1996 / 12:28:16 / cg"
-    "Created: 21.6.1996 / 20:39:14 / cg"
+    "Modified: 1.2.1997 / 15:02:47 / cg"
 ! !
 
-!PNGReader  class methodsFor:'testing'!
+!PNGReader class methodsFor:'testing'!
 
 isValidImageFile:aFileName
     "return true, if aFileName contains a PNG image"
@@ -342,9 +340,9 @@
     "Modified: 21.6.1996 / 21:44:34 / cg"
 ! !
 
-!PNGReader  class methodsFor:'documentation'!
+!PNGReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/PNGReader.st,v 1.1 1996-06-21 20:34:55 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/PNGReader.st,v 1.2 1997-02-01 14:05:19 cg Exp $'
 ! !
 PNGReader initialize!