equal
deleted
inserted
replaced
132 anImage depth <= 6 ifTrue:[^ true]. |
132 anImage depth <= 6 ifTrue:[^ true]. |
133 anImage photometric == #palette ifTrue:[ |
133 anImage photometric == #palette ifTrue:[ |
134 anImage colorMap size < 256 ifTrue:[^ true]. |
134 anImage colorMap size < 256 ifTrue:[^ true]. |
135 ]. |
135 ]. |
136 anImage usedColors size < 256 ifTrue:[^ true]. |
136 anImage usedColors size < 256 ifTrue:[^ true]. |
137 Transcript showCR:'XPMReader: too many colors in image.'. |
137 ('XPMReader [info]: too many colors in image.') infoPrintCR. |
138 ^ false |
138 ^ false |
139 |
139 |
140 "Modified: 27.2.1997 / 12:40:22 / cg" |
140 "Modified: 27.2.1997 / 12:40:22 / cg" |
141 ! |
141 ! |
142 |
142 |
632 ! ! |
632 ! ! |
633 |
633 |
634 !XPMReader class methodsFor:'documentation'! |
634 !XPMReader class methodsFor:'documentation'! |
635 |
635 |
636 version |
636 version |
637 ^ '$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.62 2004-03-05 19:04:29 stefan Exp $' |
637 ^ '$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.63 2005-01-07 14:35:32 cg Exp $' |
638 ! ! |
638 ! ! |
639 |
639 |
640 XPMReader initialize! |
640 XPMReader initialize! |