ImageEditor.st
changeset 3586 87081b50bb22
parent 3580 ab5cebe669d7
child 3592 149f58a2a522
--- a/ImageEditor.st	Thu Aug 09 15:50:33 2018 +0200
+++ b/ImageEditor.st	Thu Aug 09 16:04:50 2018 +0200
@@ -7072,9 +7072,8 @@
                             ] ifFalse:[
                                 colorMapMode value:prevMode.
                                 self findColorMapMode.    
-                                self warn:(resources 
-                                            stringWithCRs:'Too many used colors (%1) in image.\\You should choose one of:\\- convert the image to gray\- reduce the number of colors\- dither to depth\- choose another depth'
-                                            with: oldImage realUsedColors size ).
+                                self warn:'Too many used colors (%1) in image.\\You should choose one of:\\- convert the image to gray\- reduce the number of colors\- dither to depth\- choose another depth'
+                                     with: oldImage realUsedColors size.
                                 ^ self
     "/                            (self confirm:('Too many used colors in image (', oldImage usedColors size printString , ').\\Dither ?' withCRs))
     "/                            ifFalse:[.
@@ -7147,7 +7146,7 @@
             Color colorErrorSignal handle:[:ex|
                 colorMapMode value:prevMode.
                 imageEditView undo.
-                ^ self warn:(resources string:'Conversion failed !!')
+                ^ self warn:('Conversion failed !!')
             ] do:[
                 newImage := Image newForDepth:depth.
                 newImage 
@@ -7240,6 +7239,7 @@
     ]
 
     "Modified: / 28-11-2017 / 16:39:03 / cg"
+    "Modified: / 09-08-2018 / 15:59:31 / Claus Gittinger"
 !
 
 colorize