changeset 2249 | 6d130f22ea91 |
parent 2196 | 7e4e066ca7f5 |
child 2260 | 9a6345ae1c56 |
--- 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