Change images to use ImageMask instances instead of Depth1Image instances as
masks.
--- a/ImageMask.st Fri May 23 10:13:25 2014 +0200
+++ b/ImageMask.st Fri May 23 10:17:29 2014 +0200
@@ -9,8 +9,6 @@
other person. No title to or ownership of the software is
hereby transferred.
"
-
-
"{ Package: 'stx:libview' }"
Depth1Image subclass:#ImageMask
@@ -54,6 +52,13 @@
! !
+!ImageMask methodsFor:'initialization'!
+
+initialize
+ super initialize.
+ bitsPerSample := samplesPerPixel := 1.
+! !
+
!ImageMask methodsFor:'private'!
colormapFromImage:anImage
@@ -76,5 +81,6 @@
!ImageMask class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/ImageMask.st,v 1.3 2003-04-11 00:08:56 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/ImageMask.st,v 1.4 2014-05-23 08:17:29 stefan Exp $'
! !
+