comparison toolboxes/FullBNT-1.0.7/docs/Figures/mfa.eps @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Creator: (ImageMagick)
3 %%Title: (mfa.eps)
4 %%CreationDate: (Tue Nov 16 19:52:06 2004)
5 %%BoundingBox: 0 0 126 151
6 %%DocumentData: Clean7Bit
7 %%LanguageLevel: 1
8 %%Pages: 1
9 %%EndComments
10
11 %%BeginDefaults
12 %%EndDefaults
13
14 %%BeginProlog
15 %
16 % Display a color image. The image is displayed in color on
17 % Postscript viewers or printers that support color, otherwise
18 % it is displayed as grayscale.
19 %
20 /DirectClassPacket
21 {
22 %
23 % Get a DirectClass packet.
24 %
25 % Parameters:
26 % red.
27 % green.
28 % blue.
29 % length: number of pixels minus one of this color (optional).
30 %
31 currentfile color_packet readhexstring pop pop
32 compression 0 eq
33 {
34 /number_pixels 3 def
35 }
36 {
37 currentfile byte readhexstring pop 0 get
38 /number_pixels exch 1 add 3 mul def
39 } ifelse
40 0 3 number_pixels 1 sub
41 {
42 pixels exch color_packet putinterval
43 } for
44 pixels 0 number_pixels getinterval
45 } bind def
46
47 /DirectClassImage
48 {
49 %
50 % Display a DirectClass image.
51 %
52 systemdict /colorimage known
53 {
54 columns rows 8
55 [
56 columns 0 0
57 rows neg 0 rows
58 ]
59 { DirectClassPacket } false 3 colorimage
60 }
61 {
62 %
63 % No colorimage operator; convert to grayscale.
64 %
65 columns rows 8
66 [
67 columns 0 0
68 rows neg 0 rows
69 ]
70 { GrayDirectClassPacket } image
71 } ifelse
72 } bind def
73
74 /GrayDirectClassPacket
75 {
76 %
77 % Get a DirectClass packet; convert to grayscale.
78 %
79 % Parameters:
80 % red
81 % green
82 % blue
83 % length: number of pixels minus one of this color (optional).
84 %
85 currentfile color_packet readhexstring pop pop
86 color_packet 0 get 0.299 mul
87 color_packet 1 get 0.587 mul add
88 color_packet 2 get 0.114 mul add
89 cvi
90 /gray_packet exch def
91 compression 0 eq
92 {
93 /number_pixels 1 def
94 }
95 {
96 currentfile byte readhexstring pop 0 get
97 /number_pixels exch 1 add def
98 } ifelse
99 0 1 number_pixels 1 sub
100 {
101 pixels exch gray_packet put
102 } for
103 pixels 0 number_pixels getinterval
104 } bind def
105
106 /GrayPseudoClassPacket
107 {
108 %
109 % Get a PseudoClass packet; convert to grayscale.
110 %
111 % Parameters:
112 % index: index into the colormap.
113 % length: number of pixels minus one of this color (optional).
114 %
115 currentfile byte readhexstring pop 0 get
116 /offset exch 3 mul def
117 /color_packet colormap offset 3 getinterval def
118 color_packet 0 get 0.299 mul
119 color_packet 1 get 0.587 mul add
120 color_packet 2 get 0.114 mul add
121 cvi
122 /gray_packet exch def
123 compression 0 eq
124 {
125 /number_pixels 1 def
126 }
127 {
128 currentfile byte readhexstring pop 0 get
129 /number_pixels exch 1 add def
130 } ifelse
131 0 1 number_pixels 1 sub
132 {
133 pixels exch gray_packet put
134 } for
135 pixels 0 number_pixels getinterval
136 } bind def
137
138 /PseudoClassPacket
139 {
140 %
141 % Get a PseudoClass packet.
142 %
143 % Parameters:
144 % index: index into the colormap.
145 % length: number of pixels minus one of this color (optional).
146 %
147 currentfile byte readhexstring pop 0 get
148 /offset exch 3 mul def
149 /color_packet colormap offset 3 getinterval def
150 compression 0 eq
151 {
152 /number_pixels 3 def
153 }
154 {
155 currentfile byte readhexstring pop 0 get
156 /number_pixels exch 1 add 3 mul def
157 } ifelse
158 0 3 number_pixels 1 sub
159 {
160 pixels exch color_packet putinterval
161 } for
162 pixels 0 number_pixels getinterval
163 } bind def
164
165 /PseudoClassImage
166 {
167 %
168 % Display a PseudoClass image.
169 %
170 % Parameters:
171 % class: 0-PseudoClass or 1-Grayscale.
172 %
173 currentfile buffer readline pop
174 token pop /class exch def pop
175 class 0 gt
176 {
177 currentfile buffer readline pop
178 token pop /depth exch def pop
179 /grays columns 8 add depth sub depth mul 8 idiv string def
180 columns rows depth
181 [
182 columns 0 0
183 rows neg 0 rows
184 ]
185 { currentfile grays readhexstring pop } image
186 }
187 {
188 %
189 % Parameters:
190 % colors: number of colors in the colormap.
191 % colormap: red, green, blue color packets.
192 %
193 currentfile buffer readline pop
194 token pop /colors exch def pop
195 /colors colors 3 mul def
196 /colormap colors string def
197 currentfile colormap readhexstring pop pop
198 systemdict /colorimage known
199 {
200 columns rows 8
201 [
202 columns 0 0
203 rows neg 0 rows
204 ]
205 { PseudoClassPacket } false 3 colorimage
206 }
207 {
208 %
209 % No colorimage operator; convert to grayscale.
210 %
211 columns rows 8
212 [
213 columns 0 0
214 rows neg 0 rows
215 ]
216 { GrayPseudoClassPacket } image
217 } ifelse
218 } ifelse
219 } bind def
220
221 /DisplayImage
222 {
223 %
224 % Display a DirectClass or PseudoClass image.
225 %
226 % Parameters:
227 % x & y translation.
228 % x & y scale.
229 % label pointsize.
230 % image label.
231 % image columns & rows.
232 % class: 0-DirectClass or 1-PseudoClass.
233 % compression: 0-none or 1-RunlengthEncoded.
234 % hex color packets.
235 %
236 gsave
237 /buffer 512 string def
238 /byte 1 string def
239 /color_packet 3 string def
240 /pixels 768 string def
241
242 currentfile buffer readline pop
243 token pop /x exch def
244 token pop /y exch def pop
245 x y translate
246 currentfile buffer readline pop
247 token pop /x exch def
248 token pop /y exch def pop
249 currentfile buffer readline pop
250 token pop /pointsize exch def pop
251 /Times-Roman findfont pointsize scalefont setfont
252 x y scale
253 currentfile buffer readline pop
254 token pop /columns exch def
255 token pop /rows exch def pop
256 currentfile buffer readline pop
257 token pop /class exch def pop
258 currentfile buffer readline pop
259 token pop /compression exch def pop
260 class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
261 grestore
262 } bind def
263 %%EndProlog
264 %%Page: 1 1
265 %%PageBoundingBox: 0 0 126 151
266 userdict begin
267 DisplayImage
268 0 0
269 126 151
270 12.000000
271 126 151
272 1
273 1
274 1
275 1
276 fffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffff
277 fffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffff
278 fffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffffffffffff
279 fffffffcfffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffc
280 ff8000001fffffffffffff800ffffffcffbfffffdffffffffffffc7ff1fffffcffbfffff
281 dfffffffffffe3fffe3ffffcffbfffffdfffffffffffdfffffdffffcffbfffffdfffffff
282 ffff3fffffe7fffcffbfffffdffffffffffefffffffbfffcffbfffffdffffffffffdffff
283 fffdfffcffbfffffdffffffffffbfffffffefffcffbfffffdffffffffff7ffffffff7ffc
284 ffbfffffdffffffffff7ffffffff7ffcffbfffffdfffffffffefffffffffbffcffbf0fff
285 dfffffffffeff18fffffbffcffbe67ffdfffffffffdffbdfffffdffcffbef7ffdfffffff
286 ffdffdbfffffdffcffbdfbffdfffffffffdffc7fffffdffcffbdfbffdfffffffffdffe7f
287 ffffdffcffbdfbffdfffffffffdffd3fffffdffcffbef7ffdfffffffffdffdbfffffdffc
288 ffbe67ffdfffffffffdffbdfffffdffcffbf0fffdfffffffffeff18fffffbffcffbfcfff
289 dfffffffffefffffffffbffcffbff3ffdffffffffff7ffffffff7ffcffbfffffdfffffff
290 fff7ffffffff7ffcffbfffffdffffffffffbfffffffefffcffbfffffdffffffffffdffff
291 fffdfffcffbfffffdffffffffffefffffffbfffcffbfffffdfffffffffff3fffffe7fffc
292 ffbfffffdfffffffffffdfffffdffffcffbfffffdfffffffffffe3fffe3ffffcffbfffff
293 dffffffffffffc7ff1fffffcff8000001fffffffffffff800ffffffcfffffffdffffffff
294 ffffff7ffffffffcfffffffdffffffffffffff7ffffffffcfffffffefffffffffffffeff
295 fffffffcffffffff7ffffffffffffdfffffffffcffffffffbffffffffffffbfffffffffc
296 ffffffffbffffffffffffbfffffffffcffffffffdffffffffffff7fffffffffcffffffff
297 efffffffffffeffffffffffcffffffffefffffffffffeffffffffffcfffffffff7ffffff
298 ffffdffffffffffcfffffffffbffffffffffbffffffffffcfffffffffdffffffffff7fff
299 fffffffcfffffffffdffffffffff7ffffffffffcfffffffffefffffffffefffffffffffc
300 ffffffffff7ffffffffdfffffffffffcffffffffff7ffffffffdfffffffffffcffffffff
301 ffbffffffffbfffffffffffcffffffffffdffffffff7fffffffffffcffffffffffefffff
302 ffeffffffffffffcffffffffffefffffffeffffffffffffcfffffffffff7ffffffdfffff
303 fffffffcfffffffffffbffffffbffffffffffffcfffffffffffbffffffbffffffffffffc
304 fffffffffffdffffff7ffffffffffffcfffffffffffefffffefffffffffffffcffffffff
305 ffff5ffff5fffffffffffffcffffffffffff5ffff5fffffffffffffcfffffffffffeafff
306 eafffffffffffffcffffffffffff4fffe5fffffffffffffcffffffffffff8fffd3ffffff
307 fffffffcffffffffffffc7ffc7fffffffffffffcffffffffffffe7ffcffffffffffffffc
308 fffffffffffff3ff9ffffffffffffffcfffffffffffffbffbffffffffffffffcffffffff
309 fffffc007ffffffffffffffcffffffffffffe3ff8ffffffffffffffcffffffffffff1bbb
310 b1fffffffffffffcfffffffffffefffffefffffffffffffcfffffffffff8eefeee3fffff
311 fffffffcfffffffffff7ffffffdffffffffffffcffffffffffebbbbbbbaffffffffffffc
312 ffffffffffdffffffff7fffffffffffcffffffffffafefefefebfffffffffffcffffffff
313 ffbffffffffbfffffffffffcffffffffff3bbbbbbbb9fffffffffffcffffffffff7f8e3f
314 fffdfffffffffffcfffffffffefede7efefefffffffffffcfffffffffeffeefffffeffff
315 fffffffcfffffffffebbb2bbbbbafffffffffffcfffffffffefff1fffffefffffffffffc
316 fffffffffeefebefefeefffffffffffcfffffffffefffbfffffefffffffffffcffffffff
317 febbbbbbbbbafffffffffffcffffffffff7ff1fffffdfffffffffffcffffffffff7eeefe
318 eefdfffffffffffcffffffffffbffffffffbfffffffffffcffffffffffbbbbbbbbbbffff
319 fffffffcffffffffffdffffffff7fffffffffffcffffffffffefefefefeffffffffffffc
320 fffffffffff7ffffffdffffffffffffcfffffffffff9bbbbbb3ffffffffffffcffffffff
321 fffefffffefffffffffffffcffffffffffff1efef1fffffffffffffcffffffffffffe3ff
322 8ffffffffffffffcfffffffffffffc007ffffffffffffffcffffffffffffffffffffffff
323 fffffffcfffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffc
324 fffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffff
325 fffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffff
326 fffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffffffffffff
327 fffffffcfffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffc
328 fffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffff
329 fffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffff
330 fffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffffffffffff
331 fffffffcfffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffc
332 fffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffff
333 fffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffff3f97ffffff
334 ffee03effffffffcffffff9f3fffffffffdf7beffffffffcffffff9f3ffbffffffdf7fd7
335 fffffffcffffffaea6402533f98f77d7c7fffffcffffffaeb75bb66df6df07bbb7fffffc
336 ffffffb5b7bbb6e1f6df77839ffffffcffffffb5b7bbb6eff6df7fbbe7fffffcffffffbb
337 b75bb6e6f6df7f7db7fffffcffffff1b024cc871f9de1e388ffffffcffffffffffffffff
338 fffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffffffffffff
339 fffffffcfffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffc
340 fffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffff
341 fffffffffffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffff
342 fffffffffffffffcfffffffffffffffffffffffffffffffcffffffffffffffffffffffff
343 fffffffc
344 end
345 %%PageTrailer
346 %%Trailer
347 %%EOF