commentary
authorClaus Gittinger <cg@exept.de>
Tue, 23 Apr 1996 12:40:18 +0200
changeset 203 a38debd57097
parent 202 651db5018d9c
child 204 277d2523d8cb
commentary
XBMReader.st
XPMReader.st
--- a/XBMReader.st	Tue Apr 23 12:38:49 1996 +0200
+++ b/XBMReader.st	Tue Apr 23 12:40:18 1996 +0200
@@ -39,6 +39,7 @@
     These images can (for example) be created using the bitmap editor supplied
     with X. 
     Only monochrome images can be represented in this format.
+    Both reading and writing of images is supported.
 
     [See also:]
         BlitImageReader FaceReader GIFReader JPEGReader PBMReader PCXReader 
@@ -288,6 +289,6 @@
 !XBMReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.21 1996-04-23 10:38:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/XBMReader.st,v 1.22 1996-04-23 10:39:19 cg Exp $'
 ! !
 XBMReader initialize!
--- a/XPMReader.st	Tue Apr 23 12:38:49 1996 +0200
+++ b/XPMReader.st	Tue Apr 23 12:40:18 1996 +0200
@@ -10,13 +10,11 @@
  hereby transferred.
 "
 
-'From Smalltalk/X, Version:2.10.4 on 18-feb-1995 at 2:24:00 am'!
-
 ImageReader subclass:#XPMReader
-	 instanceVariableNames:''
-	 classVariableNames:''
-	 poolDictionaries:''
-	 category:'Graphics-Images support'
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Graphics-Images support'
 !
 
 !XPMReader class methodsFor:'documentation'!
@@ -35,36 +33,44 @@
 "
 !
 
-version
-    ^ '$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.13 1995-11-22 14:08:36 cg Exp $'
-!
-
 documentation
 "
     this class provides methods for loading x-pixmap-file (xpm) images.
+
     These images are used (in X) for palette images (see ctwm or hp-vue for a lot
-    of them). The code here is a hack - it may not work for all images (it works
-    for the testfiles I got here).
-    Limitations: 
-	only reads the full-color specification, ignoring monochrome
-	and greyscale info.
+    of them). 
+    The code here is a hack - it may not work for all images 
+    (it works for the testfiles I got here).
 
-	Can only handle single-character index.
+    Limitations: 
+        only reads the full-color specification, ignoring monochrome
+        and greyscale info.
 
-	Does not (currently) handle none-colors (i.e. for image-masks).
+        Can only handle single-character index.
 
-	Only understands single-word color names (i.e. names with spaces 
-	are not supported)
+        Does not (currently) handle none-colors (i.e. for image-masks).
 
-	Save not supported
+        Only understands single-word color names (i.e. names with spaces 
+        are not supported)
+
+        Image writing is not (yet) supported
 
     Suggestions: adapt & use the XPM library here.
+
+
+    [See also:]
+        BlitImageReader FaceReader GIFReader JPEGReader PBMReader PCXReader 
+        ST80FormReader SunRasterReader TIFFReader WindowsIconReader 
+        XBMReader XWDReader 
 "
 ! !
 
 !XPMReader class methodsFor:'initialization'!
 
 initialize
+    "tell Image-class, that a new fileReader is present
+     for the '.xpm' extension."
+
     Image fileFormats at:'.xpm'  put:self.
 ! !
 
@@ -296,4 +302,9 @@
     "Modified: 24.9.1995 / 07:07:33 / claus"
 ! !
 
+!XPMReader class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.14 1996-04-23 10:40:18 cg Exp $'
+! !
 XPMReader initialize!