-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathre
370 lines (360 loc) · 12.6 KB
/
re
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
%!PS-Adobe-3.0
%%Creator: (ImageMagick)
%%Title: (re)
%%CreationDate: (2024-07-05T20:54:44+00:00)
%%BoundingBox: 2679 193 2875 199
%%HiResBoundingBox: 2679 193 2875 199
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Orientation: Portrait
%%PageOrder: Ascend
%%Pages: 1
%%EndComments
%%BeginDefaults
%%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
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
showpage
} bind def
%%EndProlog
%%Page: 1 1
%%PageBoundingBox: 2679 193 2875 199
DisplayImage
2679 193
196 6
12
196 6
0
0
0D0F140D0F140D0F140D0F140D0F144F51555354580D0F140D0F140D0F140D0F140D0F1423252A
8C8D9017191E1214181F21253C3D42818285494B4E0D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F146365684C4F520D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F146A6C703F41450D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F143938380D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F142F353A2F35390D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F1414161B0D0F140D0F140D0F140D0F144F51555354580D0F140D0F140D0F140D0F140D0F14
23252A8C8D900D0F140D0F140D0F140D0F143F42457B7D80181A1F8B8D8F191B200D0F140D0F14
0D0F1476777A3235390D0F140D0F140D0F146365684C4F520D0F140D0F140D0F140D0F141F2125
67686B86888A828386585A5D1315190D0F140D0F1430323772747787898C898B8D585A5D0D0F14
0D0F1444454A7A7C7F898B8D7E7F823132360D0F146A6C70787A7C828386888A8C7375782D2F33
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F143938380D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F142F353A2F35390D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F144F51555354580D0F140D0F140D0F140D0F14
0D0F1423252A8C8D900D0F140D0F140D0F140D0F143B3D417C7E810D0F147173763B3C410D0F14
0D0F1414171C898B8D14171C0D0F140D0F140D0F146365684C4F520D0F140D0F140D0F1415171C
7F81824F525517191E1E202467686B686A6E0D0F140D0F144B4D5067686B14161B12141817191E
0D0F1448494E7B7D802E2F3413151B1F212516181D0D0F146A6C7051535617191E13151947484C
83858813151B0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F143938380D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F142F353A2F3539
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F144F51555354580D0F140D0F140D0F14
0D0F140D0F1423252A8C8D900D0F140D0F140F11162B2D31797B7E5253570D0F144C4D51626468
0D0F140D0F143134387375770D0F140D0F140D0F140D0F146365684C4F520D0F140D0F140D0F14
46474B6F71740D0F140D0F140D0F1414161B85878A282A2F0D0F144B4D505F60640D0F140D0F14
0D0F141012178384873133370D0F140D0F140D0F140D0F140D0F146A6C703F41450D0F140D0F14
0D0F147E7F823133370D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F143938380D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F141215192A2F352A30352A30352A30353C4249
3B42482A30352A30352A30352A2F351214190D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F144F51555354580D0F140D0F14
0D0F140D0F140D0F1423252A8C8D90818285828386898B8D797B7E4A4C4F0F11160D0F14202126
86888A14151A0D0F145355594F52550D0F140D0F140D0F140D0F146365684C4F520D0F140D0F14
0D0F145E60635052560D0F140D0F140D0F140D0F146C6E704244480D0F144B4D505F60640D0F14
0D0F140D0F141F21258C8D9014151A0D0F140D0F140D0F140D0F140D0F146A6C703F41450D0F14
0D0F140D0F146D6F723D3F430D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F143938380D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F1415181D2A30352A30352A30352A3035
3C42493B42482A30352A30352A30352A303514171D0D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F144F51555354580D0F14
0D0F140D0F140D0F140D0F1423252A8C8D90191B20181A1F1113180D0F140D0F140D0F140D0F14
0D0F146E6F723D3E430D0F14767679292B300D0F140D0F140D0F140D0F146365684C4F520D0F14
0D0F140D0F145F60645051560D0F140D0F140D0F140D0F146C6E714244480D0F144B4D505F6064
0D0F140D0F140D0F142021268C8D901113180D0F140D0F140D0F140D0F140D0F146A6C703F4145
0D0F140D0F140D0F146A6C703F41450D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F143938380D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F142F353A2F35390D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F140D0F14
0D0F140D0F140D0F140D0F140D0F140D0F14
%%PageTrailer
%%Trailer
%%EOF