1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Creator: (ImageMagick)
3 %%Title: (../doc/latex/img/widget/label/preview-00.eps)
4 %%CreationDate: (2014-09-11T12:22:59+09:00)
5 %%BoundingBox: -0 -0 23 13
6 %%HiResBoundingBox: 0 0 23 13
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
266 %%PageBoundingBox: 0 0 23 13
275 474747474747474747474747474747474747474747474747474747474747474747474747474747
276 474747474747474747474747474747474747474747474747474747474747494949404040404040
277 404040404040404040404040404040404040404040404040404040404040404040404040404040
278 404040404040404040404040404040404040303030494949404040404040404040404040404040
279 4040404040404040404040404C4C4CA5A5A5404040404040404040404040404040404040404040
280 404040404040404040B9B9B9494949BFBFBF404040404040404040404040404040404040404040
281 4040405656569D9D9D4040404040404040404040404040404040404040404040404040404C4C4C
282 B4B4B4555555C6C6C6404040404040404040404040404040404040404040404040555555B9B9B9
283 D8D8D8FFFFFFB2B2B2404040404040404040404040404040404040494949B4B4B4525252C5C5C5
284 404040404040404040404040FFFFFFFFFFFFF2F2F2666666555555F0F0F05151512D2D2DC6C6C6
285 737373404040999999F2F2F2E5E5E5666666494949B4B4B4525252C5C5C5404040404040404040
286 4040401F1F1F1F1F1F3F3F3FBCBCBC555555A6A6A63939393D3D3D616161949494666666ACACAC
287 222222414141CACACA494949B4B4B4525252C5C5C5404040404040404040404040B2B2B2F2F2F2
288 FFFFFFC6C6C6555555B8B8B84040404040406C6C6C919191888888FFFFFFFFFFFFFFFFFFFFFFFF
289 494949B4B4B4525252C5C5C54040404040404040408C8C8CAAAAAA3030305A5A5AB7B7B7555555
290 FFFFFF6666664C4C4CC9C9C95A5A5A777777A5A5A51F1F1F1F1F1F1F1F1F494949B4B4B4464646
291 FFFFFFFFFFFFFFFFFFBFBFBF5B5B5BF0F0F0FFFFFFC9C9C9B7B7B7484848B4B4B4E4E4E4FFFFFF
292 9A9A9A393939353535AAAAAAF2F2F2FFFFFFB2B2B23D3D3DB4B4B44949491F1F1F1F1F1F1F1F1F
293 2A2A2A3939392222221F1F1F2828282A2A2A3D3D3D2A2A2A2424241F1F1F2F2F2F404040404040
294 2C2C2C2222221F1F1F2C2C2C404040202020494949404040404040404040404040404040404040
295 404040404040404040404040404040404040404040404040404040404040404040404040404040
296 404040404040303030303030303030303030303030303030303030303030303030303030303030
297 303030303030303030303030303030303030303030303030303030303030303030303030303030