-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage.eps
553 lines (543 loc) · 16.8 KB
/
image.eps
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
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (ImageMagick)
%%Title: (thumbs_up.eps)
%%CreationDate: (Wed Dec 12 14:20:01 2001)
%%BoundingBox: 270 360 328 418
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Pages: 1
%%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.
%
/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 eq
{
/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 eq
{
/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 eq
{
/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 eq
{
/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-none or 1-RunlengthEncoded.
% hex color packets.
%
gsave
/buffer 512 string def
/byte 1 string def
/color_packet 3 string def
/pixels 768 string def
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
/Times-Roman 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: 270 360 328 418
userdict begin
DisplayImage
270 360
58.2472 58.2472
12.000000
72 72
1
0
0
128
000000
010101
040404
060606
0d0d0d
101010
111111
121212
151515
171717
191919
1a1a1a
1b1b1b
202020
232323
252525
272727
292929
2b2b2b
2d2d2d
303030
323232
353535
3b3b3b
3f3f3f
474747
4a4a4a
4b4b4b
4c4c4c
4e4e4e
525252
535353
565656
595959
5c5c5c
5d5d5d
646464
686868
6b6b6b
727272
747474
7a7a7a
808080
848484
888888
8c8c8c
919191
939393
969696
989898
999999
9a9a9a
9b9b9b
9c9c9c
9d9d9d
9e9e9e
9f9f9f
a0a0a0
a1a1a1
a3a3a3
a5a5a5
a8a8a8
acacac
b6b6b6
c0c0c0
c2c2c2
cccccc
cecece
d0d0d0
d1d1d1
d2d2d2
d3d3d3
d5d5d5
d7d7d7
d9d9d9
dbdbdb
dcdcdc
dddddd
dedede
e0e0e0
e1e1e1
e2e2e2
e5e5e5
e7e7e7
e8e8e8
e9e9e9
ebebeb
ededed
eeeeee
f1f1f1
f5f5f5
f6f6f6
f7f7f7
fafafa
fbfbfb
fefefe
ffffff
150000
000800
fe82ff
ffff02
ff0117
171700
000009
00ffff
ff02ff
ffff01
191919
000000
0a011a
1a1a00
00000b
011b1b
1b0000
000c00
80ffff
ff01ff
ff00fe
fefe82
ffffff
00ffff
fffefe
feff00
fffefe
fe80ff
ff0120
202000
00000d
606060606060606060606060606060606060606060606060606060606060606060606060
606060606060606060606060606060606060606060606060606060606060606060606060
606060605f6060605f5f605f60605f5f60606060606060605f6060605f6060605f5f605f
5f605f5f5f605f605f605f606060605f60605f605f606060606060606060605f60605f60
60606060606060606060606060606060606060606060606060606060606060606060605f
606060606060460000606060606060606060606060606060606060606060606060606060
6060605f605f60605f5f60605f6060606060605f5f605f60605f605f5f60605f5f605f60
605f60605f00006060605f5f6060606060605f605f6060605f605f5f60605f5f5f606060
605f6060605f605f60605f5f605f60605f605f5f5f5f605f60605f605f60605f60605f60
5f60605f0031605f5f00205f5f60605f5f605f5f5f5f5f5f5f5f5f5f5f5f5f5f5f5f5f5f
6060605f5f60605f606060605f605f5f60606060605f60605f60605f60605f5f60606060
5f5f60004b60605f0025206060605f606060605f5f606060605f5f606060605f5f606060
6060606060605f605f606060606060606060606060606060606060606060606060606060
606046006060600060006060606060606060606060606060606060606060605f60606060
606060605f5f606060606060605f6060605f606060606060605f606060605f6060605f5f
6060005f5f6060006000605f6060606060605f605f605f5f5f60605f6060606060606060
605f605f60605f605f5f60605f605f605f6060606060605f60606060605f605f605f605f
60600060605f5f0013005f605f5f5f605f5f5f5f5f605f5f5f605f5f5f605f5f5f60605f
605f605f606060605f5f6060605f605f605f605f606060605f5f6060606060606060605f
600c4560606060000030605f60605f5f606060605f60605f6060606060605f605f606060
606060605f60606060606060606060606060606060606060606060606060606060606060
600060606060606000606060606060606060605f60606060605f60606060606060606060
605f60605f6060606060605f6060605f5f5f6060606060605f60605f605f60606060605f
5f00605f60605f520060605f606060606060605f60606060606060605f60606060605f60
6060605f605f60605f606060606060605f60605f5f605f60605f60605f60605f5f605f60
6000605f605f600060606060606060605f605f6060605f605f605f605f60605f5f605f5f
606060605f60605f605f6060605f60605f5f60605f60605f6060605f6060605f605f6060
6037605f5f60600049605f605f60606060605f5f5f6060605f605f605f6060606060605f
605f6060605f60605f606060606060605f6060605f606060606060606060606060606060
60606060606060000060606060606060606060606060605f606060606060606060606060
605f6060605f6060605f605f6060605f606060605f5f605f606060605f6060605f5f605f
47606060606060000060605f5f605f605f605f5f5f605f606060605f5f60606060605f60
606060605f6060605f60605f5f5f5f605f60606060605f5f5f605f606060605f5f5f6060
0d5b0000002e5f00005f60605f605f5f60605f5f605f60605f6060605f605f5f60605f60
606060606060605f605f605f605f606060606060606060606060605f5f60605f60605f60
0d606060605f5f000060606060605f60606060605f605f605f60605f5f605f5f60606060
606060605f60606060606060606060606060606060606060606060606060605f5f606060
0d6060606060606000606060606060606060605f6060605f6060605f5f60605f5f605f5f
6060605f5f606060605f60605f606060606060606060605f5f5f605f5f6060606060605f
0d605f6060605f5d0060605f5f60605f6060606060605f6060605f605f60605f5f60605f
6060605f5f606060606060605f5f5f5f060606065f5f5f5f606060605f5f5f5f60606060
005f605f6060605f00605f605f5f605f60605f5f606060605f605f5f60605f605f606060
606060605f5f60606060606060000000003e3e2d00000004605f60605f60605f5f606060
00605f6060605f6000605f6060605f605f605f605f605f605f605f605f605f605f605f60
6060605f6060606060606060000060605f6060605f2f4060000060605f6060605f606000
4e60605f606060600046605f6060606060606060606060606060606060605f6060606060
606060605f6060605f606000005f28000000475f5f60000e60600000605f60605f605800
5f605f606060605f1000605f60605f5f5f605f605f606060606060606060605f5f605f5f
605f6060605f6060605f6000606000605f60000060605f005f60605e00085f5f5f000060
5f60606060605f606000606060605f60606060605f605f605f6060605f605f605f605f60
6060605f6060605f605f2c005f60276060606000575f60006060606060170000005f6060
60605f5f60606060600060606060606060605f5f5f60605f5f6060606060606060606060
606060605f60606060602c16606000605f6060440060600060605f6060605f6060603760
60606060606060606000605f60606060606060606060606060605f5f60605f6060606060
6060605f605f606060602c16605f6060605f605f00603b60606060605f5f5f5f5f00005f
5f60605f606060605f005f5f606060605f605f5f606060605f605f606060606060606060
605f605f5f606060606060005f60605f605f605f06005f606060605f606060600060370d
605f60606060605f5f00606060605f605f605f5f5f605f606060605f5f605f6060605f5f
60606060606060605f60600060606060606060605f00385f605f2121605f606000606000
606060606060605f600060605f606060606060606060605f606060605f60606060606060
60606060605f605f6060000000606060606060605f60601f0000245f2400602b57606000
006060605f60605f6000605f6060605f6060606060605f605f6060606060606060606060
6060605f5f5f60604c006060005f60605f5f5f605f5f2f005f5f605f6060000060605f5f
0200005f60605f5f60005f5f60605f5f606060605f6060605f6060605f6060605f606060
605f605f60606060006060605f00605f5f605f60605f5f5f0060605f5f600000605f5f5f
5f60605160605f60600060605f60605f5f60605f5f605f6060605f606060605f5f60605f
605f60606060606000606060605f005f5f60606060606060005f60605a6000005f606060
6060605f6060606060005f606060606060605f605f60605f5f605f60606060605f605f5f
6060605f5f60605f006060605f606000005f60606060606000606049606000005f605f60
6060605f606060605f00005f606060605f605f6060605f60606060606060606060606060
605f5f606060605f005f605f6060605f600d00004e6060470060605f4e0060005f60005f
6060605f60606060600400505f5f605f6060606060605f605f60605f605f606060605f60
605f60605f5f60600040605f60606060606060605f4e2a00000000004e6060005f236060
5f5f605f60605f5f5f6000005f605f60606060606060605f605f605f6060605f5f605f5f
6060605f605f6060390060605f606060606060605f606060606060605f60600060006060
5f6060606060605f606060000060605f606060606060605f606060606060605f60606060
605f60606060605f5f006060606060606060605f605f605f605f60520060600060006060
60605f605f605f6060606055006060605f605f5f606060605f60605f606060605f605f60
605f60605f5f605f6060005f5f5f60605f6060605f603800605f605f0a003300005f5f5f
5f606060605f606060605f6000005f5f606060605f60605f5f60605f5f60605f60606060
605f605f5f60605f60000000605f606060606060606060000060604f6000330000606060
60605f605f5f5f5f5f606060500060605f605f5f6060605f60605f605f605f605f60605f
6060605f606060600060600000606060605f606060606060006000606000330000606060
6060605f5f5f606060606060600030606060605f6060606060606060606060606060605f
605f6060606060600060605f60001a605f5f605f605f600000606060003c000000606060
5f605f605f60606060606060600f00606060605f5f6060605f60606060605f6060606060
606060605f5f605f005f605f5f600400005c60605f60600060606000005f000000606060
5f5f60605f60606060605f5f5f5f00605f605f5f60605f605f605f605f605f5f60606060
605f60605f5f606000416060605f60605f000000105f6060100000495f60000000605f60
5f6060605f6060605f6060606060005f6060606060605f5f6060605f60605f5f6060605f
606060606060605f32006060606060605f60606060606060606060606060000000606060
606060606060606060606060606000606060606060606060606060606060606060606060
605f605f606060605f000060605f6060606060605f2d60606060153f60600053005f605f
6060605f6060605f60605f5f6060005f606060605f6060605f605f605f605f605f606060
6060605f5f60605f605f00006060605f6060605f6060355f60555f006059005f00605f5f
606060606060605f60605f605f6000606060605f605f5f605f6060606060605f5f605f60
606060605f6060605f606000005f605f5f60605f5f60606060606049600000600060605f
5f605f606060605f6060605f600700065f605f605f606060606060606060605f5f605f5f
60606060606060605f60006000001460606060605f602f606060600029006060003a605f
606060606060605f6060606060451e00606060606060605f606060606060606060606060
60606060605f60605f5f006060600000005f6060605f345f5f604d000000605f60006060
5f60605f60605f60606060360000601c2d60606060605f605f605f5f5f60606060605f60
605f60605f606060605f006060606060000000005760605f6000000000605f5f5f00605f
605f605f606060000000000112005f6000605f5f5f605f5f5f605f5f6060606060606060
606060605f6060605f6000605f60605f606044000000000000006000526060605f500060
60605f605f60605f6060606000565f5f600b606060605f5f606060605f605f5f5f605f60
60606060606060605f600016606060606060606060606060606000006060606060600060
606060606060606060606000006060606060346060606060606060606060606060606060
605f605f5f60605f5f6060003d5f605f5f6060605f5f6059605f005f5f606060605f5f00
60605f605f60605f600000005f60605f60605f6060605f5f6060606060605f5f5f605f60
606060605f5f60605f605f5f0000605f5f605f605f602660005f005f5f6060605f60604f
00605f605f5f5f5f0000005f6060605f6060606000606060606060605f6060605f605f5f
605f605f5f5f605f5f5f606060000000605f606060286011002000605f60605f5f5f6060
0d00605f60605f0000004d605f60605f6060606060425f5f5f60605f5f60606060605f60
606060605f60606060606060606000000000000000000000602000606060606060606060
60166060606000000044605f6060606060606060605f60606060605f6060606060606060
606060605f60605f5f6060605f60601b0000001b1b5f60605f2000605f605f605f605f5f
60606060606000001860605f60605f5f5f605f605f606060606060606060605f60605f60
606060605f60605f5f5f606060605f60606003000000606060200060605f6060605f6060
5f5f605f5f0000005f606060605f605f5f605f605f60605f6060605f5f605f606060605f
6060605f5f60605f5f6060605f5f60605f5f60605f0000605f5f005f60605f5f605f605f
60605f5f6000005f60605f5f60605f5f606060605f6060605f6060605f6060605f606060
606060605f5f606060605f60606060606060606060606000606000606060606060606060
5f60606060000060606060606060606060606060606060606060606060605f605f605f60
6060605f5f5f60605f6060605f5f60606060605f5f5f606000600000606060605f5f6060
606060600e00605f60605f6060605f5f606060606060606060605f60606060606060605f
6060605f5f60605f5f6060606060605f605f5f605f60606060005f00006060606060605f
5f605f5f006060605f60606060605f5f606060605f5f605f6060605f606060605f605f5f
606060605f6060605f60605f5f5f605f5f5f5f5f605f60605f4a09605f5f605f60606060
606060540060605f60605f6060605f605f60605f5f60605f5f60606060605f6060605f60
606060605f6060606060606060606060606060606060606060601d00606060606060605f
60604300606060606060606060606060606060606060606060606060605f605f60606060
6060605f5f6060605f5f6060606060605f5f60605f5f5f605f605f510000486060606060
601900605f605f5f5f605f60606060605f605f606060605f605f60605f605f606060605f
605f605f5f5f5f605f6060605f6060605f5f5f5f6060605f606060606022000000000000
005f605f6060605f5f60605f5f6060605f605f6060605f6060606060605f60606060605f
6060605f5f5f60605f5f60605f60606060605f5f5f5f605f5f6060606060605f41004160
5f605f605f60606060605f5f5f6060605f605f5f606060605f5f605f606060605f606060
606060605f60606060606060606060606060606060606060606060606060606060606060
05606060606060606060606060606060606060606060606060606060606060606060605f
605f60605f6060606060605f5f60605f5f605f60605f605f5f6060605f606060605f605f
5f605f60606060606060605f5f605f605f605f5f5f605f60605f605f5f60606060605f60
606060605f6060605f6060605f5f606060605f5f6060605f606060605f6060605f5f6060
5f6060605f5f60605f6060605f6060606060605f6060605f60605f5f60605f5f605f6060
end
%%PageTrailer
%%Trailer
%%EOF