--- 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!