changed: fromImage:anImage photometric:photometricOrNil
authorMichael Beyl <mb@exept.de>
Fri, 20 Jul 2007 12:48:01 +0200
changeset 4793 d30d38703d4f
parent 4792 59e34dfdfae7
child 4794 fee4be15bbd5
changed: fromImage:anImage photometric:photometricOrNil
Image.st
--- a/Image.st	Fri Jun 15 11:52:50 2007 +0200
+++ b/Image.st	Fri Jul 20 12:48:01 2007 +0200
@@ -5099,9 +5099,10 @@
     height := anImage height.
     bitsPerSample := self bitsPerSample.
     samplesPerPixel := self samplesPerPixel.
-    photometricOrNil == #palette ifTrue:[
-        self colormapFromImage:anImage photometric:photometricOrNil.
-    ].
+"/    commented because catured images got converted to greyscale images
+"/    photometricOrNil == #palette ifTrue:[
+    self colormapFromImage:anImage photometric:photometricOrNil.
+"/    ].
     self mask:anImage mask.
 
     samePhotometric := (photometric == anImage photometric).
@@ -12913,7 +12914,7 @@
 !Image class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Image.st,v 1.394 2007-06-06 16:56:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Image.st,v 1.395 2007-07-20 10:48:01 mb Exp $'
 ! !
 
 Image initialize!