--- a/ImageEditor.st Mon Jun 25 18:51:08 2001 +0200
+++ b/ImageEditor.st Mon Jul 23 17:23:19 2001 +0200
@@ -2278,8 +2278,14 @@
tmpBits := oldImage bits
] ifFalse:[
colorMapMode value:prevMode.
- self warn:('Too many colors in image ( ', oldImage usedColors size printString , ').').
+ self warn:('Too many used colors in image (', oldImage usedColors size printString , ').').
^ self
+"/ (self confirm:('Too many used colors in image (', oldImage usedColors size printString , ').\\Dither ?' withCRs))
+"/ ifFalse:[.
+"/ ^ self
+"/ ].
+"/ self image: (Image newForDepth:depth) fromImage:oldImage.
+"/ ^ self.
]
].
usageCounts := tmpBits usageCounts.