equal
deleted
inserted
replaced
6959 (usedColors conform:[:clr | newColorMap includes:clr]) ifFalse:[ |
6959 (usedColors conform:[:clr | newColorMap includes:clr]) ifFalse:[ |
6960 useNearest := Dialog |
6960 useNearest := Dialog |
6961 confirmWithCancel:(resources |
6961 confirmWithCancel:(resources |
6962 stringWithCRs:'Not all colors are present in the new colormap.\\Map missing ones to nearest (or map to first color) ?' |
6962 stringWithCRs:'Not all colors are present in the new colormap.\\Map missing ones to nearest (or map to first color) ?' |
6963 ) |
6963 ) |
6964 labels:(resources string:#('Cancel' 'First' 'Nearest')). |
6964 labels:(resources array:#('Cancel' 'First' 'Nearest')). |
6965 useNearest isNil ifTrue:[ |
6965 useNearest isNil ifTrue:[ |
6966 colorMapMode value:prevMode. |
6966 colorMapMode value:prevMode. |
6967 ^ self "/ cancel |
6967 ^ self "/ cancel |
6968 ]. |
6968 ]. |
6969 ]. |
6969 ]. |
7082 (imageEditView image: image) notNil ifTrue:[ |
7082 (imageEditView image: image) notNil ifTrue:[ |
7083 self fetchImageData. |
7083 self fetchImageData. |
7084 ] |
7084 ] |
7085 ] |
7085 ] |
7086 |
7086 |
7087 "Modified: / 31-08-2017 / 14:41:06 / cg" |
7087 "Modified: / 28-11-2017 / 16:09:46 / cg" |
7088 ! |
7088 ! |
7089 |
7089 |
7090 colorize |
7090 colorize |
7091 "interactive Hue editing" |
7091 "interactive Hue editing" |
7092 |
7092 |