📄 gg.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /home/loos/DemoGNG-1.3/tex/eps/GG.ps%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley%%BoundingBox: 37 291 558 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 714 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner37 291 translate% size of image (on paper, in 1/72inch coords)521.20800 260.64000 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 24 string def% load up the colormapcurrentfile cmap readhexstring000000 ffffff bebebe 656565 00ff00 0000ff 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 def714 357 8 % dimensions of data[714 0 0 -357 0 357] % mapping matrixrlecmapimage7f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f027f0226027f0772077f022f027f027f0226027f0771078103027f022e027f027f02260201077f026e0201037f022f027f027f02260201077f026e0201037f022f027f027f02260201077f026e0201037f022f027f026c028100021e0281000208028100020b0201077f026e0201037f022f027f024002810002020281000208028100021902810002080281000203028100020d0281000208028100020b0201077f026e0201037f022f027f024002010002028100020802810002190281000208020100020201000e0281000208028100020b020107640201002602010005020100560201037f022f027f02400201000202810002010202000202030082020002050281000202020100020282000200810002820200020102810002040201000202010004020100040203000202020003028100028202000208020107430203001c020100180203000902010005020100560201037f022f027f024002830002000282020002820200020102810002010281000201028100020102810002010281000201028100028202000281020081000202028100028202000205028700020002000200020202810002820200020102810002010281000282020002010281000201028100028202000208020107420201000102010035020100010201001002010043020b07060201037f022f027f0240028200020083000200028202000201028100020102810002020281000282020002820200020102810002020283000200020302830002000206028700020002000200020102810002020281000282020002010281000282020002010281000201028100020b02010741020100060201008102008100028102000200020201000502010001020100020201008102008100020202040005020100060201008102008100028102008100020102040043020a07810302050201037f022f027f024002810002840200020002810200030002028100020202870002000200020002010281000202028300020002030202000702810002820200028202000201028100020202810002820200020102810002810200030002028100020b0201074102010006020100810200820002008100028102008100028102008100028102008100028102008100028102008100020102020081020081000281020081000281020081000204020100060201008102008100028102008100028102008100028102008100024202010707020103060201037f022f027f0240028100020102010001028100020502810002020287000200020002000201028100020202830002000203028100028202000205028100028202000282020002010281000202028100028202000201028100028202000205028100020b020107410201000602020002020100010201000202010081020082000200810002010201000202010001020100010201000102010005020100060202000302010001020100010201004302010707020103060201037f022f027f0240028100020102010001028100020102810002010281000203028100020102810002030281000282020002820200020302810002810200810002040281000203028100020202810002820200020102810002810200810002820200020102810002010281000282020002080201074102010002020100010201000302010001020100020201008102008200020081000201020100020201000102010001020100010201000502010002020100010201000402010001020100010201004302010707020103060201037f022f027f024002810002020281000201020200040201000202810002010281000204020100020281000203028100020102810002040281000203028100020302010004020100820200020102020003028100028202000208020107410201000202010001020100030201000102010002020700020201000202010001020100010201008102000100050201000202010001020100040201000102010001020100430201070903060201037f022f027f027f022602010742020100010201000102010003020100010201000302010001020100030201000202010001020100020201008102008100020502010001020100010201000402010001020100810200010043028107030903060201037f022f027f027f022602010743020400010201000402030004020100010201000302010002020100010201000502010007020400010201000402010002020100810200810002550201037f022f027f027f02260201077102010001020100760201037f022f027f027f022602010772020300770201037f022f027f027f02260201077f026e0201037f022f027f027f02260201077f026e0201037f022f027f027f02260201077f026e0201037f022f027f027f02260201077f026e0201037f022f027f027f02260201077f0370037f022f027f027f0226028107037f0370037f022f027f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f027f027f027f027f0249027f017f017f017f017f014901080103000201050002010300030103007f017f017f017f017f010a01810001060103000c010701810001020181000182010001050181000102018100018201000102018100017f017f017f017f017f0106010200060181000102018100010a010c01810001820100010501810001050181000102018100017f017f017f017f017e01810001010181000103018100010a018100010a010c0181000181010003000201810001050181000102018100017f017f017f017f017e01810001010181000103018100010a018100010a010b0181000106018100018101000300030103007f017f017f017f017f018201000101018100010301810001070102000c010a0181000107018100018201000102018100018201000102018100017f017f017f017f017f01830001000104018100010a018100010a01090181000108018100018201000102018100018201000102018100017f017f017f017f017f01830001000104018100010a018100010a010801810001040181000102018100018201000102018100018201000102018100017f017f017f017f017f0182010001050181000102018100018201000102018100010a01070105000201030003010300030103007f017f017f017f017f01020181000105018100010201810001010103000c017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f0149017f017f017f017f017f014901
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -