changeset 937 | 8e4b1a548d89 |
parent 933 | f090206aadff |
child 941 | 6d75430a8120 |
936:f3db8359547a | 937:8e4b1a548d89 |
---|---|
1676 do: |
1676 do: |
1677 [ |
1677 [ |
1678 image := newImage fromImage: oldImage |
1678 image := newImage fromImage: oldImage |
1679 ]. |
1679 ]. |
1680 |
1680 |
1681 (String fromString: aMode) reverse readStream nextWord reverse = 'mask' |
1681 (aMode asString endsWith:'mask') |
1682 ifTrue: |
1682 ifTrue: |
1683 [ |
1683 [ |
1684 image mask isNil |
1684 image mask isNil |
1685 ifTrue: |
1685 ifTrue: |
1686 [ |
1686 [ |
1715 self findColorMapMode. |
1715 self findColorMapMode. |
1716 self updateLabelsAndHistory. |
1716 self updateLabelsAndHistory. |
1717 ] |
1717 ] |
1718 ] |
1718 ] |
1719 |
1719 |
1720 "Modified: / 29.7.1998 / 18:15:10 / cg" |
1720 "Modified: / 31.7.1998 / 18:53:26 / cg" |
1721 ! |
1721 ! |
1722 |
1722 |
1723 compressColorMap |
1723 compressColorMap |
1724 "calculates a new color map for the image, using only used colors" |
1724 "calculates a new color map for the image, using only used colors" |
1725 |
1725 |