Sending of Image>>#clearMaskedPixels moved to Image >> #asFormOnDevice:
authorStefan Vogel <sv@exept.de>
Fri, 06 Jun 2014 09:30:03 +0200
changeset 3125 9d5624af77ab
parent 3124 1973e28a2c75
child 3126 9002c0912b90
Sending of Image>>#clearMaskedPixels moved to Image >> #asFormOnDevice:
ImageEditor.st
--- 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:[