📄 ng.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /home/loos/DemoGNG-1.3/tex/eps/NG.ps%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley%%BoundingBox: 36 290 559 552%%Pages: 1%%DocumentFonts:%%EndComments%%EndProlog%%Page: 1 1% remember original state/origstate save def% build a temporary dictionary20 dict begin% define space for color conversions/grays 716 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner36 290 translate% size of image (on paper, in 1/72inch coords)522.64800 262.08000 scale% define 'colorimage' if it isn't defined% ('colortogray' and 'mergeprocs' come from xwd2ps% via xgrab)/colorimage where % do we know about 'colorimage'? { pop } % yes: pop off the 'dict' returned { % no: define one /colortogray { % define an RGB->I function /rgbdata exch store % call input 'rgbdata' rgbdata length 3 idiv /npixls exch store /rgbindx 0 store 0 1 npixls 1 sub { grays exch rgbdata rgbindx get 20 mul % Red rgbdata rgbindx 1 add get 32 mul % Green rgbdata rgbindx 2 add get 12 mul % Blue add add 64 idiv % I = .5G + .31R + .18B put /rgbindx rgbindx 3 add store } for grays 0 npixls getinterval } bind def % Utility procedure for colorimage operator. % This procedure takes two procedures off the % stack and merges them into a single procedure. /mergeprocs { % def dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /colorimage { % def pop pop % remove 'false 3' operands {colortogray} mergeprocs image } bind def } ifelse % end of 'false' case% define the colormap/cmap 21 string def% load up the colormapcurrentfile cmap readhexstring000000 ffffff bebebe 656565 00ff00 cbcbff e7e7e7 pop pop % lose return values from readhexstring% rlecmapimage expects to have 'w h bits matrix' on stack/rlecmapimage { /buffer 1 string def /rgbval 3 string def /block 384 string def % proc to read a block from file, and return RGB data { currentfile buffer readhexstring pop /bcount exch 0 get store bcount 128 ge { % it's a non-run block 0 1 bcount 128 sub { currentfile buffer readhexstring pop pop % look up value in color map /rgbval cmap buffer 0 get 3 mul 3 getinterval store % and put it in position i*3 in block block exch 3 mul rgbval putinterval } for block 0 bcount 127 sub 3 mul getinterval } { % else it's a run block currentfile buffer readhexstring pop pop % look up value in colormap /rgbval cmap buffer 0 get 3 mul 3 getinterval store 0 1 bcount { block exch 3 mul rgbval putinterval } for block 0 bcount 1 add 3 mul getinterval } ifelse } % end of proc false 3 colorimage} bind def716 359 8 % dimensions of data[716 0 0 -359 0 359] % mapping matrixrlecmapimage7f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f027f0227027f0672067f0230027f027f0227027f0671068103027f022f027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f026d028100021e0281000208028100020b0201067f026e0201037f0230027f024102810002020281000208028100021902810002080281000203028100020d0281000208028100020b0201067f026e0201037f0230027f024102010002028100020802810002190281000208020100020201000e0281000208028100020b020106710201007a0201037f0230027f0241020100020281000201020200020203008202000205028100020202010002028200020081000282020002010281000204020100020201000402010004020300020202000302810002820200020802010648020200020281000220020100070203006e0201037f0230027f0241028300020002820200028202000201028100020102810002010281000201028100020102810002010281000282020002810200810002020281000282020002050287000200020002000202028100028202000201028100020102810002820200020102810002010281000282020002080201064802020002028100022002010006020100010201005a020b06060201037f0230027f0241028200020083000200028202000201028100020102810002020281000282020002820200020102810002020283000200020302830002000206028700020002000200020102810002020281000282020002010281000282020002010281000201028100020b02010648028200020081000282020002010203000302010001020100010201008102008100028102000200030201000502010007020300030204004a020a06810302050201037f0230027f024102810002840200020002810200030002028100020202870002000200020002010281000202028300020002030202000702810002820200028202000201028100020202810002820200020102810002810200030002028100020b020106480282000200810002820200028102008100028102008100020102010001020100010201008102008200020081000281020081000201020100050201000602010001020100010201004e02010607020103060201037f0230027f0241028100020102010001028100020502810002020287000200020002000201028100020202830002000203028100028202000205028100028202000282020002010281000202028100028202000201028100028202000205028100020b0201064802820002000100820200028102008100028102008100020102010001020100010202000602010002020100050201000a020100010202004d02010607020103060201037f0230027f0241028100020102010001028100020102810002010281000203028100020102810002030281000282020002820200020302810002810200810002040281000203028100020202810002820200020102810002810200810002820200020102810002010281000282020002080201064802810002810200830002000281020004000202010001020100010201000402040002020100050201000202010002020400020203004b02010607020103060201037f0230027f0241028100020202810002010202000402010002028100020102810002040201000202810002030281000201028100020402810002030281000203020100040201008202000201020200030281000282020002080201064802810002010202000102010006020100010201000102010003020100010201000202010005020100020201000102010001020100040202004a0201060903060201037f0230027f027f02270201064802810002010202000102010002028100020102010081020001000102010003020100010201000202010006020100010201000102010001020100050201004a028106030903060201037f0230027f027f022702010648028100020202010002020300040201008102008100028102008100020302020081020081000281020081000206020400020202008102008200020003005e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f026e0201037f0230027f027f02270201067f0370037f0230027f027f0227028106037f0370037f0230027f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f027f027f027f027f024b027f017f017f017f017f014b01090103000201050001010500030101007f017f017f017f017f010b01810001060103000d01080181000102018100010501810001820100010601810001820100017f017f017f017f017f0107010200060181000102018100010b010d0181000104018100010101810001050181000102018100017f017f017f017f017e01810001010181000103018100010a018100010b010d01810001030181000102010400020181000102018100017f017f017f017f017e01810001010181000103018100010a018100010b010c01810001040181000107018100018201000102018100017f017f017f017f017e0181000101018100010301810001070102000d010b01810001040181000108018100018201000102018100017f017f017f017f017f01830001000104018100010a018100010b010a01810001050181000108018100018201000102018100017f017f017f017f017f01830001000104018100010a018100010b0109018100010501810001040181000102018100010101810001820100017f017f017f017f017f010101810001050181000102018100018201000102018100010b0108010500020181000105010300040101007f017f017f017f017f01030181000105018100010201810001010103000d017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b017f017f017f017f017f014b01
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -