ImageEditor.st
changeset 3359 258a64461215
parent 3357 97c7ed5950e5
child 3367 033c21371bea
--- a/ImageEditor.st	Fri Dec 02 16:57:32 2016 +0100
+++ b/ImageEditor.st	Tue Dec 06 12:52:05 2016 +0100
@@ -4016,6 +4016,13 @@
     colorMapModeKey := colorMapModeKey , image depth printString.
     self colorMapMode setValue:colorMapModeKey.
 
+    image photometric == #palette ifTrue:[
+        image colorMap isNil ifTrue:[
+            image depth > 16 ifTrue:[
+                image photometric:#rgb
+            ].
+        ].
+    ].
 
     image depth > 12 ifTrue:[
         newListOfColors := OrderedCollection new.
@@ -4064,7 +4071,7 @@
         self listOfColors contents:newListOfColors.
     ].
 
-    "Modified: / 18-01-2012 / 13:58:38 / cg"
+    "Modified: / 06-12-2016 / 12:51:36 / cg"
 !
 
 selectedColorsChanged