blob: fa20c9166097b0fb5d8803d5b461f738205d332d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
|
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (ImageMagick)
%%Title: (otools.eps)
%%CreationDate: (Tue Nov 28 23:50:41 2000)
%%BoundingBox: 0 0 367 190
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Pages: 0
%%EndComments
%%BeginDefaults
%%PageOrientation: Portrait
%%EndDefaults
%%BeginProlog
%
% Display a color image. The image is displayed in color on
% Postscript viewers or printers that support color, otherwise
% it is displayed as grayscale.
%
/buffer 512 string def
/byte 1 string def
/color_packet 3 string def
/pixels 768 string def
/DirectClassPacket
{
%
% Get a DirectClass packet.
%
% Parameters:
% red.
% green.
% blue.
% length: number of pixels minus one of this color (optional).
%
currentfile color_packet readhexstring pop pop
compression 0 gt
{
/number_pixels 3 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add 3 mul def
} ifelse
0 3 number_pixels 1 sub
{
pixels exch color_packet putinterval
} for
pixels 0 number_pixels getinterval
} bind def
/DirectClassImage
{
%
% Display a DirectClass image.
%
systemdict /colorimage known
{
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ DirectClassPacket } false 3 colorimage
}
{
%
% No colorimage operator; convert to grayscale.
%
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ GrayDirectClassPacket } image
} ifelse
} bind def
/GrayDirectClassPacket
{
%
% Get a DirectClass packet; convert to grayscale.
%
% Parameters:
% red
% green
% blue
% length: number of pixels minus one of this color (optional).
%
currentfile color_packet readhexstring pop pop
color_packet 0 get 0.299 mul
color_packet 1 get 0.587 mul add
color_packet 2 get 0.114 mul add
cvi
/gray_packet exch def
compression 0 gt
{
/number_pixels 1 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add def
} ifelse
0 1 number_pixels 1 sub
{
pixels exch gray_packet put
} for
pixels 0 number_pixels getinterval
} bind def
/GrayPseudoClassPacket
{
%
% Get a PseudoClass packet; convert to grayscale.
%
% Parameters:
% index: index into the colormap.
% length: number of pixels minus one of this color (optional).
%
currentfile byte readhexstring pop 0 get
/offset exch 3 mul def
/color_packet colormap offset 3 getinterval def
color_packet 0 get 0.299 mul
color_packet 1 get 0.587 mul add
color_packet 2 get 0.114 mul add
cvi
/gray_packet exch def
compression 0 gt
{
/number_pixels 1 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add def
} ifelse
0 1 number_pixels 1 sub
{
pixels exch gray_packet put
} for
pixels 0 number_pixels getinterval
} bind def
/PseudoClassPacket
{
%
% Get a PseudoClass packet.
%
% Parameters:
% index: index into the colormap.
% length: number of pixels minus one of this color (optional).
%
currentfile byte readhexstring pop 0 get
/offset exch 3 mul def
/color_packet colormap offset 3 getinterval def
compression 0 gt
{
/number_pixels 3 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add 3 mul def
} ifelse
0 3 number_pixels 1 sub
{
pixels exch color_packet putinterval
} for
pixels 0 number_pixels getinterval
} bind def
/PseudoClassImage
{
%
% Display a PseudoClass image.
%
% Parameters:
% class: 0-PseudoClass or 1-Grayscale.
%
currentfile buffer readline pop
token pop /class exch def pop
class 0 gt
{
currentfile buffer readline pop
token pop /depth exch def pop
/grays columns 8 add depth sub depth mul 8 idiv string def
columns rows depth
[
columns 0 0
rows neg 0 rows
]
{ currentfile grays readhexstring pop } image
}
{
%
% Parameters:
% colors: number of colors in the colormap.
% colormap: red, green, blue color packets.
%
currentfile buffer readline pop
token pop /colors exch def pop
/colors colors 3 mul def
/colormap colors string def
currentfile colormap readhexstring pop pop
systemdict /colorimage known
{
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ PseudoClassPacket } false 3 colorimage
}
{
%
% No colorimage operator; convert to grayscale.
%
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ GrayPseudoClassPacket } image
} ifelse
} ifelse
} bind def
/DisplayImage
{
%
% Display a DirectClass or PseudoClass image.
%
% Parameters:
% x & y translation.
% x & y scale.
% label pointsize.
% image label.
% image columns & rows.
% class: 0-DirectClass or 1-PseudoClass.
% compression: 0-RunlengthEncodedCompression or 1-NoCompression.
% hex color packets.
%
gsave
currentfile buffer readline pop
token pop /x exch def
token pop /y exch def pop
x y translate
currentfile buffer readline pop
token pop /x exch def
token pop /y exch def pop
currentfile buffer readline pop
token pop /pointsize exch def pop
/Helvetica findfont pointsize scalefont setfont
x y scale
currentfile buffer readline pop
token pop /columns exch def
token pop /rows exch def pop
currentfile buffer readline pop
token pop /class exch def pop
currentfile buffer readline pop
token pop /compression exch def pop
class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
grestore
} bind def
%%EndProlog
%%Page: 1 1
%%PageBoundingBox: 0 0 368 191
userdict begin
%%BeginData:
DisplayImage
0 0
368 191
12.000000
368 191
1
0
0
9
c0c0c0
f8fcf8
00fc00
f8fc00
008000
000080
000000
008080
00fcf8
00120103000b0103007901050012010300b1001201010005020300050101007901000000
0101000001000014010100b1001201010005020300050101007b01010016010100b10001
010e0001010100050203000501010001016f000901010004010300030103000501010003
0103000a019e00010101000e01010005020300050101007b010100030101000101010001
01010001010100040101000201010001010100a6010100010101000e0101000502030005
0101007b010100030101000101010001010100010101000401010003010100a901010001
01010001010a0001010100050203000501010001016f0009010100030101000101010001
0101000101010004010100050101000a019a000101010001010100010101000a01010005
020300050101007b01010003010100010101000101010001010100040101000201010001
010100a20101000101010001010100010101000a01030003020300030103007a01030003
010300030103000301050001010300a3010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
00010101000101010001010100ff0061010100010101000101010001010100ff00610101
0001010100010101000101010010030500440101000b010300f301010001010100010101
000101010011030100010301003a010000070101000401000007010100f3010100010101
0001010100010101001103010001030100390101000d01010007010100f3010100010101
000101010001010100110301000103010000010200000101000201030003010200000101
000001020000010100020103000201050009010500020103000201050004010100030103
0003010300e3010100010101000101010001010100110304000201010000010200000101
000101010001010100010101000201010000010200040101000101010000010000000101
000901010007010100030101000701010002010100010101000101010001010100e20101
000101010001010100010101001103010005010200000101000001010001010100010101
000101010002010200000101000101040001010100000100000001010009010100070101
0003010100070101000201050002010100e5010100010101000101010001010100110301
000501010004010100010101000101010001010100020101000401010001010100010101
000001000000010100090101000701010003010100070101000201010008010100e30101
000101010001010100010101001103010005010100040101000101010002010400020101
000401010001010100010101000001000000010100090101000001010004010100030101
00000101000401010002010100010101000101010001010100e201010001010100010101
000101010010030300030103000401030006010100010103000401020000010100000101
00020101000a0102000301050002010200030105000101030003010300e3010100010101
0001010100010101002801010001010100ff003201010001010100010101000101010029
010300ff00330101000101010001010100010101001004df0507000f043f001801010001
010100010101000101010010040701010402010104d00507000f04190602040203020401
03010418001801010001010100010101000101010010040701020400010204d005020700
0503000f0418060104000601040203010401030104180018010100010101000101010001
010100100407010604d0050207000503000f041706010402060104010301040003010419
001801010001010100010101000101010010040701060401010304020104040a01010400
010204020103040301020400010104010103049a050107020502000f0417060104020601
040103010400030104190018010100010101000101010001010100100407010104000100
04000101040401010401010104010101040a010104010101040401010401010104010101
04010101040101010499050107020502000f041706010402060104010303041a00180101
00010101000101010001010100100407010104020101040101040401010104010101040a
010104010101040101040401010104010101040101050499050007040501000f04170601
040206010401030104000301041906070010010100010101000101010001010100100407
01010402010104000101040101010401010104010101040a010104010101040001010401
0101040101010401010104010101049d050007040501000f041706010402060104010301
040003010419060700100101000101010001010100010101001004070101040201010400
0101040101010401010104010101040a0101040101010400010104010101040201040401
010104010101049907060500000f04180601040006010402030104010301041806070010
010100010101000101010001010100100407010104020101040101020400010104000101
04010101040a010404020102040001010404010104020103049a07060500000f04190602
04020302040103010418060700100101000101010001010100010101001004280101040c
01010401010104a10507000f043f06070010010100010101000101010001010100100427
0103040c010304a20507000f043f060700100101000101010001010100010101001007df
0500070105000701050007000017063f00100101000101010001010100010101001007e1
05000701050007010017063f00100101000101010001010100010101001007e005000701
0500070105000017063f00100101000101010001010100010101001007df050007010500
0701050007000017063f00100101000101010001010100010101001007e1050007010500
07010017063f00100101000101010001010100010101001007e005000701050007010500
0017063f00100101000101010001010100010101001007df050007010500070105000700
00680101000101010001010100010101001007e105000701050007010068010100010101
0001010100010101001007e0050007010500070105000068010100010101000101010001
0101001007df050007010500070105000700006801010001010100010101000101010010
07e1050007010500070100680101000101010001010100010101001007e0050007010500
0701050000680101000101010001010100010101001007df050007010500070105000700
000f043f00180101000101010001010100010101001007e10500070105000701000f040f
03060403080204040801041a00180101000101010001010100010101001007e005000701
050007010500000f04100301040203000404080104040801040408000414001801010001
01010001010100010101001007df050007010500070105000700000f0410030104080801
040a0801041400180101000101010001010100010101001007e10500070105000701000f
041003010401030004020804040208030402080504110018010100010101000101010001
0101001007e005000701050007010500000f041003040401080104010801040408010403
0801041400180101000101010001010100010101001007df050007010500070105000700
000f04100301040103000401080104010801040408010403080104140607001001010001
01010001010100010101001007e10500070105000701000f041003010404080104010801
04040801040308010414060700100101000101010001010100010101001007e005000701
050007010500000f04100301040203000400080104010801040408010403080104000801
0411060700100101000101010001010100010101001007df050007010500070105000700
000f040f0306040108020400080104010805040208020412060700100101000101010001
010100010101001007e10500070105000701000f043f0607001001010001010100010101
00010101001007e005000701050007010500000f043f0607001001010001010100010101
00010101001007df0500070105000701050007000017063f001001010001010100010101
00010101001007e105000701050007010017063f00100101000101010001010100010101
001007e0050007010500070105000017063f001001010001010100010101000101010010
07df0500070105000701050007000017063f001001010001010100010101000101010010
07e105000701050007010017063f00100101000101010001010100010101001007e00500
07010500070105000017063f00100101000101010001010100010101001007df05000701
050007010500070000680101000101010001010100010101001007e10500070105000701
00680101000101010001010100010101001007e005000701050007010500006801010001
01010001010100010101001007df05000701050007010500070000680101000101010001
010100010101001007e10500070105000701006801010001010100010101000101010010
07e00500070105000701050000680101000101010001010100010101001007df05000701
0500070105000700000f043f00180101000101010001010100010101001007e105000701
05000701000f040f030104020301042800180101000101010001010100010101001007e0
05000701050007010500000f040f03010402030104280018010100010101000101010001
0101001007df050007010500070105000700000f040f0302040103010428001801010001
01010001010100010101001007e10500070105000701000f040f03030400030104010603
0402060104020601041800180101000101010001010100010101001007e0050007010500
07010500000f040f03060400060104010601040106010402060104180018010100010101
0001010100010101001007df050007010500070105000700000f040f0301040003030400
060504010601040006000400060104180607001001010001010100010101000101010010
07e10500070105000701000f040f03010401030204000601040506010400060004000601
0418060700100101000101010001010100010101001007e005000701050007010500000f
040f03010402030104000601040106010402060104000601041906070010010100010101
0001010100010101001007df050007010500070105000700000f040f0301040203010401
060304030601040006010419060700100101000101010001010100010101001007e10500
070105000701000f043f060700100101000101010001010100010101001007e005000701
050007010500000f043f060700100101000101010001010100010101001007df05000701
05000701050007000017063f00100101000101010001010100010101001007e105000701
050007010017063f00100101000101010001010100010101001007e00500070105000701
05000017063f00100101000101010001010100010101001007df05000701050007010500
07000017063f00100101000101010001010100010101001007e105000701050007010017
063f00100101000101010001010100010101001007e0050007010500070105000017063f
00100101000101010001010100010101001007df05000701050007010500070000680101
000101010001010100010101001007e10500070105000701006801010001010100010101
00010101001007e005000701050007010500006801010001010100010101000101010010
07df05000701050007010500070000680101000101010001010100010101001007e10500
07010500070100680101000101010001010100010101001007e005000701050007010500
00680101000101010001010100010101001007df050007010500070105000700000f043f
00180101000101010001010100010101001007e10500070105000701000f04070304040b
0603042200180101000101010001010100010101001007e005000701050007010500000f
0408030104000301040c0601040c06000414001801010001010100010101000101010010
07df050007010500070105000700000f0408030104010301040b0601040b060104140018
0101000101010001010100010101001007e10500070105000701000f0408030104010301
0401060304050601040306030402060504020603040a0018010100010101000101010001
0101001007e005000701050007010500000f040803010401030104000601040106010404
060104020601040106010402060104040601040106010409001801010001010100010101
00010101001007df050007010500070105000700000f0408030104010301040006050404
060104020605040206010404060504090607001001010001010100010101000101010010
07e10500070105000701000f040803010401030104000601040806010402060104060601
04040601040d060700100101000101010001010100010101001007e00500070105000701
0500000f0408030104000301040106010401060104040601040206010401060104020601
0400060104010601040106010409060700100101000101010001010100010101001007df
050007010500070105000700000f04070304040306030403060504010603040406020403
0603040a060700100101000101010001010100010101001007e10500070105000701000f
043f060700100101000101010001010100010101001007e005000701050007010500000f
043f060700100101000101010001010100010101001007df050007010500070105000700
0017063f00100101000101010001010100010101001007e105000701050007010017063f
00100101000101010001010100010101001007e0050007010500070105000017063f0010
0101000101010001010100010101001007df0500070105000701050007000017063f0010
0101000101010001010100010101001007e105000701050007010017063f001001010001
01010001010100010101001007e0050007010500070105000017063f0010010100010101
0001010100010101001007df050007010500070105000700006801010001010100010101
00010101001007e1050007010500070100680101000101010001010100010101001007e0
0500070105000701050000680101000101010001010100010101001007df050007010500
07010500070000680101000101010001010100010101001007e105000701050007010068
0101000101010001010100010101001007e0050007010500070105000068010100010101
0001010100010101001007df050007010500070105000700000f043f0018010100010101
0001010100010101001007e10500070105000701000f0409060304220603040a00180101
000101010001010100010101001007e005000701050007010500000f0408060104010601
04230601040a00180101000101010001010100010101001007df05000701050007010500
0700000f040706010402060104230601040a001801010001010100010101000101010010
07e10500070105000701000f040706010406060304020604040306030403060304050601
040a00180101000101010001010100010101001007e005000701050007010500000f0407
06010409060104010601040106010401060104010601040106010401060104040601040a
00180101000101010001010100010101001007df050007010500070105000700000f0407
0601040606040401060104010601040106010405060504040601040a0607001001010001
01010001010100010101001007e10500070105000701000f040706010402060104000601
040106010401060104010601040106010405060104080601040a06070010010100010101
0001010100010101001007e005000701050007010500000f040806010401060104000601
0401060104010601040106010401060104010601040106010401060104040601040a0607
00100101000101010001010100010101001007df050007010500070105000700000f0409
060304020602040006010400060104010601040206030403060304030605040806070010
0101000101010001010100010101001007e10500070105000701000f043f060700100101
000101010001010100010101001007e005000701050007010500000f043f060700100101
000101010001010100010101001007df0500070105000701050007000017063f00100101
000101010001010100010101001007e105000701050007010017063f0010010100010101
0001010100010101001007e0050007010500070105000017063f00100101000101010001
010100010101001007df0500070105000701050007000017063f00100101000101010001
010100010101001007e105000701050007010017063f0010010100010101000101010001
0101001007e0050007010500070105000017063f00100101000101010001010100010101
001007df05000701050007010500070000680101000101010001010100010101001007e1
050007010500070100680101000101010001010100010101001007e00500070105000701
050000680101000101010001010100010101001007df0500070105000701050007000068
0101000101010001010100010101001007e1050007010500070100680101000101010001
010100010101001007e00500070105000701050000680101000101010001010100010101
001007df050700680101000101010001010100010101001007df05070068010100010101
0001010100010101001007e6050000680101000101010001010100010101001007e60500
00680101000101010001010100010101001007df05000704050100680101000101010001
010100010101001007df05000704050100680101000101010001010100010101001007df
05010702050200680101000101010001010100010101001007df05010702050200680101
000101010001010100010101001007df0502070005030068010100010101000101010001
0101001007df05020700050300680101000101010001010100010101001007df05070068
0101000101010001010100010101001007df050700680101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff00610101000101010001010100010101
00ff0061010100010101000101010001010100ff006101010001010100010101000101ff
0165000101010001010100ff006901010001010100ff00690101000101ff016d00ff006f
00ff006f00ff006f00ff006f
%%EndData
end
%%PageTrailer
%%Trailer
%%BoundingBox: 0 0 367 190
%%EOF
|