--- a/ImageEditor.st Fri May 23 11:32:56 2014 +0200
+++ b/ImageEditor.st Fri May 23 11:37:27 2014 +0200
@@ -5192,7 +5192,7 @@
maskThreshold := 0.1.
maskImage := Depth1Image fromImage:(image asThresholdMonochromeImage:maskThreshold).
] ifFalse:[
- maskImage := Depth1Image extent:image extent.
+ maskImage := ImageMask extent:image extent.
maskImage bits:(ByteArray
new:(maskImage bytesPerRow * maskImage height)
withAll:16rFF).
@@ -6681,7 +6681,7 @@
LastColormapMode := cMapString.
(cMapMode startsWith: 'mask') ifTrue:[
- image mask: (Depth1Image 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)) clearMaskedPixels
].
image colorMap: cMap.
(imageEditView image: image) notNil ifTrue:[