equal
deleted
inserted
replaced
5602 |
5602 |
5603 imageSeqNr := nil. |
5603 imageSeqNr := nil. |
5604 image := Image fromUser. |
5604 image := Image fromUser. |
5605 image isNil ifFalse:[ |
5605 image isNil ifFalse:[ |
5606 image depth > 8 ifTrue:[ |
5606 image depth > 8 ifTrue:[ |
|
5607 false ifTrue:[ |
5607 Error handle:[:ex | |sig| |
5608 Error handle:[:ex | |sig| |
5608 (sig := ex signal) == HaltInterrupt ifTrue:[ex reject]. |
5609 (sig := ex signal) == HaltInterrupt ifTrue:[ex reject]. |
5609 sig == Signal noHandlerSignal ifTrue:[ex reject]. |
5610 sig == Signal noHandlerSignal ifTrue:[ex reject]. |
5610 |
5611 |
5611 self warn:'Could not convert to depth8 image (too many colors)'. |
5612 self warn:'Could not convert to depth8 image (too many colors)'. |
5612 d8image := nil. |
5613 d8image := nil. |
5613 ] do:[ |
5614 ] do:[ |
5614 d8image := Depth8Image fromImage:image photometric:#palette. |
5615 d8image := Depth8Image fromImage:image photometric:#palette. |
5615 ]. |
5616 ]. |
5616 d8image notNil ifTrue:[ |
5617 d8image notNil ifTrue:[ |
5617 image := d8image |
5618 image := d8image |
5618 ] |
5619 ] |
|
5620 ]. |
5619 ]. |
5621 ]. |
5620 (imageEditView image:image) notNil ifTrue:[ |
5622 (imageEditView image:image) notNil ifTrue:[ |
5621 self listOfColors contents:(image colorMap). |
5623 self listOfColors contents:(image colorMap). |
5622 self findColorMapMode. |
5624 self findColorMapMode. |
5623 self updateLabelsAndHistory. |
5625 self updateLabelsAndHistory. |