1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Creator: (ImageMagick)
3 %%Title: (../doc/latex/img/widget/genlist/preview-02.eps)
4 %%CreationDate: (2014-09-11T12:22:22+09:00)
5 %%BoundingBox: -0 -0 17 17
6 %%HiResBoundingBox: 0 0 17 17
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 17 17
275 3535353434344343433B3B3B313232323132323132313131313132323232313232323231313232
276 3132323131323B3B3B4343437676766E6E6E3D3D3D3636362D2D2D2626262323232323231A1A1A
277 2B81D72828282323232323232626262C2C2C3636362D2D2D4848483F3F3F3E3E3E393939323232
278 2D2D2D2B2B2B2A2A2A2929294A4A4A2C2C2C2A2A2A2B2B2B2C2C2C3232323939392E2E2E464646
279 3F3F3F3E3E3E3C3C3C393939363636353535353535353535353535353535353535353535363636
280 3939393C3C3C2F2F2F8787873C3C3C3E3E3E3F3F3F3E3E3E3D3D3D3D3D3D3D3D3D3C3C3C3C3C3C
281 3C3C3C3D3D3D3D3D3D3D3D3D3E3E3E3F3F3F2F2F2F4646463939393E3E3E3F3F3F3F3F3F3F3F3F
282 3F3F3F3C3C3C383838FBFBFB3939393D3D3D3F3F3F3F3F3F3F3F3F404040303030434343363636
283 3D3D3D3F3F3F4040404040403C3C3C343434FFFFFFDFDFDFFAFAFA3939393E3E3E404040404040
284 4040403030304241413535353D3D3D3F3F3F4040403C3C3C323232FFFFFFF3F3F3FFFFFFDFDFDF
285 FCFCFC3939393E3E3E40404040404030303040403F2828283B3B3B3F3F3F3D3D3D333333FFFFFF
286 F3F3F3E7E7E7171717C6C6C6EEEEEEFFFFFF3A3A3A3F3F3F4040403030303D3D3D2B81D7434343
287 3E3E3E393939FFFFFFF3F3F3E7E7E71212121313131C1C1CE4E4E42D2D2D3737373E3E3E404040
288 3030303B3B3B5C5C5C3F3F3F3E3E3E363636292929E7E7E7F3F3F3FFFFFF2828282929292D2D2D
289 2D2D2D3A3A3A3F3F3F4040403030303A3A393535353D3D3D3E3E3E3A3A3A2A2A2A1C1C1CE7E7E7
290 F3F3F3FFFFFF3535353636363A3A3A3E3E3E4040404040403030303737373535353D3D3D3F3F3F
291 3E3E3E393939292929212121E7E7E73232323636363D3D3D3F3F3F404040404040404040303030
292 3435353535353D3D3D3F3F3F4040403E3E3E3939392C2C2C3E3E3E2D2D2D3A3A3A3F3F3F404040
293 4040404040404040403030303333333535353D3D3D3F3F3F4040404040403E3E3E3A3A3A373737
294 3A3A3A3E3E3E4040404040404040404040404040403030303333333636363D3D3D3F3F3F404040
295 4040403F3F3F3F3F3F3F3F3F404040404040404040404040404040404040404040303030252525
296 2A2A2A2E2E2E2F2F2F303030303030303030303030303030303030303030303030303030303030