1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Creator: (ImageMagick)
3 %%Title: (45_invader.eps)
4 %%CreationDate: (2011-07-05T19:49:01+02:00)
5 %%BoundingBox: -0 -0 64 64
6 %%HiResBoundingBox: 0 0 64 64
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
265 %%PageBoundingBox: 0 0 64 64
276 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFFFFFFFFFFFFBFFFFFFFFFFFF
277 FFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
278 FFFFFFFFFFFFFFFFFFFFFFFFFF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