ImageEditor.st
changeset 899 43b744c647ba
parent 898 d2ae6ce33fec
child 900 5dd8303a9bb5
equal deleted inserted replaced
898:d2ae6ce33fec 899:43b744c647ba
  1110 ! !
  1110 ! !
  1111 
  1111 
  1112 !ImageEditor methodsFor:'change & update'!
  1112 !ImageEditor methodsFor:'change & update'!
  1113 
  1113 
  1114 findColorMapMode
  1114 findColorMapMode
  1115     "finds the colorMapMode for an new image"
  1115     "finds the colorMapMode for a new image"
  1116 
  1116 
  1117     self image depth > 8 ifTrue: [colorMapMode := ''. self listOfColors removeAll. ^nil].
  1117     self image depth > 8 ifTrue: [colorMapMode := ''. self listOfColors removeAll. ^nil].
  1118     colorMapMode := self image depth printString, '-plane'.
  1118     colorMapMode := self image depth printString, '-plane'.
  1119     self listOfColors isEmpty
  1119     self listOfColors isEmpty
  1120     ifTrue:
  1120     ifTrue: