ImageEditor.st
changeset 3125 9d5624af77ab
parent 3122 8b3c2b6d3fb2
child 3140 5a25f22cb054
--- a/ImageEditor.st	Thu Jun 05 17:21:18 2014 +0200
+++ b/ImageEditor.st	Fri Jun 06 09:30:03 2014 +0200
@@ -5146,7 +5146,7 @@
 
         newImage := Image newForDepth:depth.
         newImage depth:depth.
-        newImage photometric:oldImage photometric.
+"/        newImage photometric:oldImage photometric.
 
         oldFileName := oldImage fileName.
 
@@ -6681,7 +6681,7 @@
         LastColormapMode := cMapString.
 
         (cMapMode startsWith: 'mask') ifTrue:[
-            image mask: (ImageMask width: width height: height depth: 1 fromArray: (ByteArray new: width*height)) clearMaskedPixels
+            image mask: (ImageMask width: width height: height depth: 1 fromArray: (ByteArray new: width*height)).
         ].
         image colorMap: cMap.
         (imageEditView image: image) notNil ifTrue:[