commentary
authorClaus Gittinger <cg@exept.de>
Tue, 23 Apr 1996 12:17:06 +0200
changeset 593 a3264954cf83
parent 592 7fdd92afbbce
child 594 2be56ece3091
commentary
ImageRdr.st
ImageReader.st
--- a/ImageRdr.st	Tue Apr 23 11:32:35 1996 +0200
+++ b/ImageRdr.st	Tue Apr 23 12:17:06 1996 +0200
@@ -995,12 +995,12 @@
 
     See implementation of fromStream: in concrete subclasses.
     The public interfaces are:
-	 <ConcreteReaderClass> fromFile:aFilename
+         <ConcreteReaderClass> fromFile:aFilename
     or:
-	 <ConcreteReaderClass> fromStream:aStream
+         <ConcreteReaderClass> fromStream:aStream
 
     However, usually this is done indirectly through
-	Image fromFile:aFileName
+        Image fromFile:aFileName
     which tries to find an appropriate readerClass by the fileNames
     extension (i.e. .tiff, .gif etc.) and/or by asking the readers
     if they know about the format of the file (see #isValidImageFile:).
@@ -1008,6 +1008,9 @@
     If you add a new reader, dont forget to add the method #isValidImageFile:
     if this reader supports reading image files.
     And/or if it supports writing files, dont forget to add #canRepresent:.
+
+    [See also:]
+        Image Icon Form
 "
 ! !
 
@@ -1372,16 +1375,17 @@
 
     depth := self bitsPerPixel.
     image := (Image implementorForDepth:depth) new.
-    image width:width.
-    image height:height.
-    image photometric:photometric.
-    image samplesPerPixel:samplesPerPixel.
-    image bitsPerSample:bitsPerSample.
-    image colorMap:colorMap.
-    image data:data.
+    image 
+        width:width 
+        height:height
+        photometric:photometric
+        samplesPerPixel:samplesPerPixel
+        bitsPerSample:bitsPerSample
+        colorMap:colorMap
+        bits:data.
     ^ image
 
-    "Modified: 22.4.1996 / 19:15:46 / cg"
+    "Modified: 23.4.1996 / 11:07:04 / cg"
 !
 
 photometric
@@ -1475,5 +1479,5 @@
 !ImageReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Attic/ImageRdr.st,v 1.26 1996-04-22 17:38:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Attic/ImageRdr.st,v 1.27 1996-04-23 10:17:06 cg Exp $'
 ! !
--- a/ImageReader.st	Tue Apr 23 11:32:35 1996 +0200
+++ b/ImageReader.st	Tue Apr 23 12:17:06 1996 +0200
@@ -995,12 +995,12 @@
 
     See implementation of fromStream: in concrete subclasses.
     The public interfaces are:
-	 <ConcreteReaderClass> fromFile:aFilename
+         <ConcreteReaderClass> fromFile:aFilename
     or:
-	 <ConcreteReaderClass> fromStream:aStream
+         <ConcreteReaderClass> fromStream:aStream
 
     However, usually this is done indirectly through
-	Image fromFile:aFileName
+        Image fromFile:aFileName
     which tries to find an appropriate readerClass by the fileNames
     extension (i.e. .tiff, .gif etc.) and/or by asking the readers
     if they know about the format of the file (see #isValidImageFile:).
@@ -1008,6 +1008,9 @@
     If you add a new reader, dont forget to add the method #isValidImageFile:
     if this reader supports reading image files.
     And/or if it supports writing files, dont forget to add #canRepresent:.
+
+    [See also:]
+        Image Icon Form
 "
 ! !
 
@@ -1372,16 +1375,17 @@
 
     depth := self bitsPerPixel.
     image := (Image implementorForDepth:depth) new.
-    image width:width.
-    image height:height.
-    image photometric:photometric.
-    image samplesPerPixel:samplesPerPixel.
-    image bitsPerSample:bitsPerSample.
-    image colorMap:colorMap.
-    image data:data.
+    image 
+        width:width 
+        height:height
+        photometric:photometric
+        samplesPerPixel:samplesPerPixel
+        bitsPerSample:bitsPerSample
+        colorMap:colorMap
+        bits:data.
     ^ image
 
-    "Modified: 22.4.1996 / 19:15:46 / cg"
+    "Modified: 23.4.1996 / 11:07:04 / cg"
 !
 
 photometric
@@ -1475,5 +1479,5 @@
 !ImageReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.26 1996-04-22 17:38:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.27 1996-04-23 10:17:06 cg Exp $'
 ! !