ImageReader.st
changeset 6309 d12f01f0e52e
parent 6167 baa4c9ec056a
child 6377 7546e57a7035
--- a/ImageReader.st	Tue Mar 04 23:20:41 2014 +0100
+++ b/ImageReader.st	Wed Mar 05 16:26:21 2014 +0100
@@ -1754,7 +1754,11 @@
 !
 
 photometric
-    "return the photometric interpretation of the image data"
+    "return the photometric interpretation of the image data.
+     This may be a somewhat old leftover from times, when tiff was the first image file type to be read.
+     Much better would be to always have some (possibly fake and virtual) colormap around, and ask that one.
+     However, in the meantime, many other classes depend on that, so that it should be kept as an API 
+     - even when the internal representation will be replaced by something better in the future."
 
     ^ photometric
 
@@ -2028,10 +2032,10 @@
 !ImageReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.108 2013-12-02 19:04:07 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.109 2014-03-05 15:26:21 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.108 2013-12-02 19:04:07 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/ImageReader.st,v 1.109 2014-03-05 15:26:21 cg Exp $'
 ! !