equal
deleted
inserted
replaced
6627 ] ifFalse:[ |
6627 ] ifFalse:[ |
6628 (newColorMap notNil and:[newColorMap isOrderedCollection or:[newColorMap isFixedPalette not]]) ifTrue:[ |
6628 (newColorMap notNil and:[newColorMap isOrderedCollection or:[newColorMap isFixedPalette not]]) ifTrue:[ |
6629 newPhotometric := #palette |
6629 newPhotometric := #palette |
6630 ] |
6630 ] |
6631 ]. |
6631 ]. |
6632 self halt. |
|
6633 image := newImage fromImage:oldImage photometric:newPhotometric. |
6632 image := newImage fromImage:oldImage photometric:newPhotometric. |
6634 "/ -- nope; keep the newly determined photometric. image photometric:oldImage photometric. |
6633 "/ -- nope; keep the newly determined photometric. image photometric:oldImage photometric. |
6635 ]. |
6634 ]. |
6636 |
6635 |
6637 (aMode asString startsWith:'mask') ifTrue:[ |
6636 (aMode asString startsWith:'mask') ifTrue:[ |
6679 (imageEditView image: image) notNil ifTrue:[ |
6678 (imageEditView image: image) notNil ifTrue:[ |
6680 self fetchImageData. |
6679 self fetchImageData. |
6681 ] |
6680 ] |
6682 ] |
6681 ] |
6683 |
6682 |
6684 "Modified: / 24-08-2017 / 18:15:18 / cg" |
6683 "Modified: / 24-08-2017 / 18:16:02 / cg" |
6685 ! |
6684 ! |
6686 |
6685 |
6687 colorize |
6686 colorize |
6688 "interactive Hue editing" |
6687 "interactive Hue editing" |
6689 |
6688 |