1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Creator: (ImageMagick)
4 %%CreationDate: (Mon Aug 6 15:53:45 2007)
5 %%BoundingBox: 0 0 100 100
6 %%HiResBoundingBox: 0 0 100 100
7 %%DocumentData: Clean7Bit
17 % Display a color image. The image is displayed in color on
18 % Postscript viewers or printers that support color, otherwise
19 % it is displayed as grayscale.
24 % Get a DirectClass packet.
30 % length: number of pixels minus one of this color (optional).
32 currentfile color_packet readhexstring pop pop
38 currentfile byte readhexstring pop 0 get
39 /number_pixels exch 1 add 3 mul def
41 0 3 number_pixels 1 sub
43 pixels exch color_packet putinterval
45 pixels 0 number_pixels getinterval
51 % Display a DirectClass image.
53 systemdict /colorimage known
60 { DirectClassPacket } false 3 colorimage
64 % No colorimage operator; convert to grayscale.
71 { GrayDirectClassPacket } image
75 /GrayDirectClassPacket
78 % Get a DirectClass packet; convert to grayscale.
84 % length: number of pixels minus one of this color (optional).
86 currentfile color_packet readhexstring pop pop
87 color_packet 0 get 0.299 mul
88 color_packet 1 get 0.587 mul add
89 color_packet 2 get 0.114 mul add
97 currentfile byte readhexstring pop 0 get
98 /number_pixels exch 1 add def
100 0 1 number_pixels 1 sub
102 pixels exch gray_packet put
104 pixels 0 number_pixels getinterval
107 /GrayPseudoClassPacket
110 % Get a PseudoClass packet; convert to grayscale.
113 % index: index into the colormap.
114 % length: number of pixels minus one of this color (optional).
116 currentfile byte readhexstring pop 0 get
117 /offset exch 3 mul def
118 /color_packet colormap offset 3 getinterval def
119 color_packet 0 get 0.299 mul
120 color_packet 1 get 0.587 mul add
121 color_packet 2 get 0.114 mul add
123 /gray_packet exch def
129 currentfile byte readhexstring pop 0 get
130 /number_pixels exch 1 add def
132 0 1 number_pixels 1 sub
134 pixels exch gray_packet put
136 pixels 0 number_pixels getinterval
142 % Get a PseudoClass packet.
145 % index: index into the colormap.
146 % length: number of pixels minus one of this color (optional).
148 currentfile byte readhexstring pop 0 get
149 /offset exch 3 mul def
150 /color_packet colormap offset 3 getinterval def
156 currentfile byte readhexstring pop 0 get
157 /number_pixels exch 1 add 3 mul def
159 0 3 number_pixels 1 sub
161 pixels exch color_packet putinterval
163 pixels 0 number_pixels getinterval
169 % Display a PseudoClass image.
172 % class: 0-PseudoClass or 1-Grayscale.
174 currentfile buffer readline pop
175 token pop /class exch def pop
178 currentfile buffer readline pop
179 token pop /depth exch def pop
180 /grays columns 8 add depth sub depth mul 8 idiv string def
186 { currentfile grays readhexstring pop } image
191 % colors: number of colors in the colormap.
192 % colormap: red, green, blue color packets.
194 currentfile buffer readline pop
195 token pop /colors exch def pop
196 /colors colors 3 mul def
197 /colormap colors string def
198 currentfile colormap readhexstring pop pop
199 systemdict /colorimage known
206 { PseudoClassPacket } false 3 colorimage
210 % No colorimage operator; convert to grayscale.
217 { GrayPseudoClassPacket } image
225 % Display a DirectClass or PseudoClass image.
232 % image columns & rows.
233 % class: 0-DirectClass or 1-PseudoClass.
234 % compression: 0-none or 1-RunlengthEncoded.
238 /buffer 512 string def
240 /color_packet 3 string def
241 /pixels 768 string def
243 currentfile buffer readline pop
244 token pop /x exch def
245 token pop /y exch def pop
247 currentfile buffer readline pop
248 token pop /x exch def
249 token pop /y exch def pop
250 currentfile buffer readline pop
251 token pop /pointsize exch def pop
252 /Times-Roman findfont pointsize scalefont setfont
254 currentfile buffer readline pop
255 token pop /columns exch def
256 token pop /rows exch def pop
257 currentfile buffer readline pop
258 token pop /class exch def pop
259 currentfile buffer readline pop
260 token pop /compression exch def pop
261 class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
266 %%PageBoundingBox: 0 0 100 100
277 FFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFFFFFFFFF
278 FFFFF0FFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFFF
279 FFFFFFFFFFF0FFFFFFFFFFFBFFFFFFFFFFFFF0FFFFFFFFFFE0FFFFF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