2 %%Creator: (ImageMagick)
4 %%CreationDate: (Sun Aug 10 19:46:10 2008)
5 %%BoundingBox: 595 209 611 236
6 %%HiResBoundingBox: 595 209 611 236
7 %%DocumentData: Clean7Bit
9 %%Orientation: Portrait
19 % Display a color image. The image is displayed in color on
20 % Postscript viewers or printers that support color, otherwise
21 % it is displayed as grayscale.
26 % Get a DirectClass packet.
32 % length: number of pixels minus one of this color (optional).
34 currentfile color_packet readhexstring pop pop
40 currentfile byte readhexstring pop 0 get
41 /number_pixels exch 1 add 3 mul def
43 0 3 number_pixels 1 sub
45 pixels exch color_packet putinterval
47 pixels 0 number_pixels getinterval
53 % Display a DirectClass image.
55 systemdict /colorimage known
62 { DirectClassPacket } false 3 colorimage
66 % No colorimage operator; convert to grayscale.
73 { GrayDirectClassPacket } image
77 /GrayDirectClassPacket
80 % Get a DirectClass packet; convert to grayscale.
86 % length: number of pixels minus one of this color (optional).
88 currentfile color_packet readhexstring pop pop
89 color_packet 0 get 0.299 mul
90 color_packet 1 get 0.587 mul add
91 color_packet 2 get 0.114 mul add
99 currentfile byte readhexstring pop 0 get
100 /number_pixels exch 1 add def
102 0 1 number_pixels 1 sub
104 pixels exch gray_packet put
106 pixels 0 number_pixels getinterval
109 /GrayPseudoClassPacket
112 % Get a PseudoClass packet; convert to grayscale.
115 % index: index into the colormap.
116 % length: number of pixels minus one of this color (optional).
118 currentfile byte readhexstring pop 0 get
119 /offset exch 3 mul def
120 /color_packet colormap offset 3 getinterval def
121 color_packet 0 get 0.299 mul
122 color_packet 1 get 0.587 mul add
123 color_packet 2 get 0.114 mul add
125 /gray_packet exch def
131 currentfile byte readhexstring pop 0 get
132 /number_pixels exch 1 add def
134 0 1 number_pixels 1 sub
136 pixels exch gray_packet put
138 pixels 0 number_pixels getinterval
144 % Get a PseudoClass packet.
147 % index: index into the colormap.
148 % length: number of pixels minus one of this color (optional).
150 currentfile byte readhexstring pop 0 get
151 /offset exch 3 mul def
152 /color_packet colormap offset 3 getinterval def
158 currentfile byte readhexstring pop 0 get
159 /number_pixels exch 1 add 3 mul def
161 0 3 number_pixels 1 sub
163 pixels exch color_packet putinterval
165 pixels 0 number_pixels getinterval
171 % Display a PseudoClass image.
174 % class: 0-PseudoClass or 1-Grayscale.
176 currentfile buffer readline pop
177 token pop /class exch def pop
180 currentfile buffer readline pop
181 token pop /depth exch def pop
182 /grays columns 8 add depth sub depth mul 8 idiv string def
188 { currentfile grays readhexstring pop } image
193 % colors: number of colors in the colormap.
194 % colormap: red, green, blue color packets.
196 currentfile buffer readline pop
197 token pop /colors exch def pop
198 /colors colors 3 mul def
199 /colormap colors string def
200 currentfile colormap readhexstring pop pop
201 systemdict /colorimage known
208 { PseudoClassPacket } false 3 colorimage
212 % No colorimage operator; convert to grayscale.
219 { GrayPseudoClassPacket } image
227 % Display a DirectClass or PseudoClass image.
234 % image columns & rows.
235 % class: 0-DirectClass or 1-PseudoClass.
236 % compression: 0-none or 1-RunlengthEncoded.
240 /buffer 512 string def
242 /color_packet 3 string def
243 /pixels 768 string def
245 currentfile buffer readline pop
246 token pop /x exch def
247 token pop /y exch def pop
249 currentfile buffer readline pop
250 token pop /x exch def
251 token pop /y exch def pop
252 currentfile buffer readline pop
253 token pop /pointsize exch def pop
254 /Times-Roman findfont pointsize scalefont setfont
256 currentfile buffer readline pop
257 token pop /columns exch def
258 token pop /rows exch def pop
259 currentfile buffer readline pop
260 token pop /class exch def pop
261 currentfile buffer readline pop
262 token pop /compression exch def pop
263 class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
269 %%PageBoundingBox: 595 209 611 236
277 1E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391F213A
278 1F213A1F213A1F213A1F213A1E20391E20391E20391E20391E20391E20391E20391E2039
279 1E20391E20391E20391F213A1F213A1F213A1F213A1F213A1E20391E20391E20391E2039
280 1E20391E20391E20391E20391E20391E20391E20391F213A1F213A1F213A1F213A1F213A
281 1E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391F213A
282 1F213A1F213A1F213A1F213A1E20391E20391E20391E20391E20391E20391E20391E2039
283 1E20391E20391E20391F213A1F213A1F213A1F213A1F213A1E20391E20391E20391E2039
284 1E20391E20391E20391E20391E20391E20391E20391F213A1F213A1F213A1F213A1F213A
285 1E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391F213A
286 1F213A1F213A1F213A1F213A1E20391E20391E20391E20391E20391D1F381E20391E2039
287 1E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391E2039
288 1E20391E20391E20391E20391E20391E20391E20391E20391E20391E20391F213A1F213A
289 1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B
290 1F203C1F203C1F203C1F203C1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B
291 1E1F3B1E1F3B1E1F3B1F203C1F203C1F203C1F203C1F203C1F203C1F203C1F203C1F203C
292 1F203C1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1E1F3B1F203C1F203C1F203C1F203C1F203C
293 1F203D1F203D1F203D1F203D1F203D1E1F3C1E1F3C1E1F3C1E1F3C1F203D1F203D1F203D
294 1F203D1F203D1F203D1F203D1F203E1F203E1F203E1F203E1F203E1E1F3D1E1F3D1E1F3D
295 1E1F3D1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E
296 1F203E1E1F3D1E1F3D1E1F3D1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E
297 1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E1F203E
298 1F203E1F203E1F203E20213F1F203E1F203E1F203E1F203E1F203E2425432122401D1E3C
299 1E1F3D20213F2122401F203E1F203E1E1F3D21224021224020213F20213F20213F20213F
300 20213F1A1B391B1C3A1B1C3A20213F22234123244220213F21224021224022234120213F
301 1F21401F21401F21401F21401F214022234223244223244223244322234120213F1B1C3B
302 1E1F3E2021402324422122401E21401E21401E21401E21401E2140202140202140202140
303 2122412021401F203F1C1D3C1E1F3E2021402324432021401D203F1D203F1D203F1D203F
304 1D203F1E1F3E1D1E3D1B1C3B1D1E3D1F203F2122412122412223422223422223421F203F
305 1E21411E21411E21411E21411E21412E2F4E2728482021411D1D3D202040222242232443
306 2223422122412122412122412023442023442023442023442023444646683A3A5C2E2E50
307 2020422020421F1F411D1D3F1C1C3E1B1B3D1F1F41222244212143212143212143212143
308 2121432727492222441D1D3F1B1B3D1E1E402121432020421F1F411D1D3F1E1E401E1E40
309 1F1F411F1F411F1F411F1F411F1F412222442020421E1E402020422121432222441F1F41
310 1F1F411F1F412222442121432020422020422020422020422020422020442020441F1F43
311 202044212144212144202043202043202043212144212144212143202042202042202042
312 202042212145212145212145212145212145212145212145212145212145212145212145