fixed image fromUser
authorClaus Gittinger <cg@exept.de>
Fri, 18 Jan 2008 11:27:31 +0100
changeset 2249 6d130f22ea91
parent 2248 720b0784c6f2
child 2250 e65b8bf6224b
fixed image fromUser
ImageEditor.st
--- a/ImageEditor.st	Thu Jan 17 15:50:00 2008 +0100
+++ b/ImageEditor.st	Fri Jan 18 11:27:31 2008 +0100
@@ -5413,8 +5413,7 @@
                         self warn:'Could not convert to depth8 image (too many colors)'.
                         d8image := nil.
                     ] do:[
-                        d8image := Depth8Image new.
-                        d8image fromImage:image.
+                         d8image := Depth8Image fromImage:image photometric:#palette.
                     ].
                     d8image notNil ifTrue:[
                         image := d8image