📄 all.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /u/user/loos/DemoGNG-1.2/tex/eps/all.ps%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley%%BoundingBox: 37 96 559 746%%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 730 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% print in landscape mode90 rotate 0 -595 translate% lower left corner96 37 translate% size of image (on paper, in 1/72inch coords)649.72800 521.56800 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 48 string def% load up the colormapcurrentfile cmap readhexstring000000 ffffff c3c3c3 bebebe c7c7c7 616161 000082 ffb610 656565 ffff00 ff0000 00ff00 a2a2a2 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 def730 586 8 % dimensions of data[730 0 0 -586 0 586] % mapping matrixrlecmapimage8204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f0329037f0f720f7f03320302048105008204010401047f037f0329037f0f710f8108037f03310302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f036f038100031e0381000308038100030b03010f7f036e0301087f03320302048105008204010401047f034303810003020381000308038100031903810003080381000303038100030d0381000308038100030b03010f7f036e0301087f03320302048105008204010401047f034303010002038100030803810003190381000308030100020301000e0381000308038100030b03010f4c030100400301005c0301087f03320302048105008204010401047f0343030100020381000301030200020303008203000305038100030203010002038200030081000382030003010381000304030100020301000403010004030300020302000303810003820300030803010f2b0303001c0301001703020002038100032003010007030300500301087f03320302048105008204010401047f03430383000300038203000382030003010381000301038100030103810003010381000301038100030103810003820300038103008100030203810003820300030503870003000300030003020381000382030003010381000301038100038203000301038100030103810003820300030803010f2a030100010301003503020002038100032003010006030100010301003c030b0f060301087f03320302048105008204010401047f0343038200030083000300038203000301038100030103810003020381000382030003820300030103810003020383000300030303830003000306038700030003000300030103810003020381000382030003010381000382030003010381000301038100030b03010f29030100060301008103008100038103000200020301000503010001030100020301008103008100030203040006038200030081000382030003010303000303010001030100010301008103008100038103000200030301000503010007030300030304002c030a0f810803050301087f03320302048105008204010401047f034303810003840300030003810300030002038100030203870003000300030003010381000302038300030003030302000703810003820300038203000301038100030203810003820300030103810003810300030002038100030b03010f29030100060301008103008200030081000381030081000381030081000381030081000381030081000381030081000301030200810300810003810300810003810300810003050382000300810003820300038103008100038103008100030103010001030100010301008103008200030081000381030081000301030100050301000603010001030100010301003003010f07030108060301087f03320302048105008204010401047f0343038100030103010001038100030503810003020387000300030003000301038100030203830003000303038100038203000305038100038203000382030003010381000302038100038203000301038100038203000305038100030b03010f29030100060302000203010001030100020301008103008200030081000301030100020301000103010001030100010301000603820003000100820300038103008100038103008100030103010001030100010302000603010002030100050301000a030100010302002f03010f07030108060301087f03320302048105008204010401047f03430381000301030100010381000301038100030103810003030381000301038100030303810003820300038203000303038100038103008100030403810003030381000302038100038203000301038100038103008100038203000301038100030103810003820300030803010f2903010002030100010301000303010001030100020301008103008200030081000301030100020301000103010001030100010301000603810003810300830003000381030004000203010001030100010301000403040002030100050301000203010002030400020303002d03010f07030108060301087f03320302048105008204010401047f03430381000302038100030103020004030100020381000301038100030403010002038100030303810003010381000304038100030303810003030301000403010082030003010302000303810003820300030803010f2903010002030100010301000303010001030100020307000203010002030100010301000103010081030001000603810003010302000103010006030100010301000103010003030100010301000203010005030100020301000103010001030100040302002c03010f0908060301087f03320302048105008204010401047f037f032903010f2a030100010301000103010003030100010301000303010001030100030301000203010001030100020301008103008100030503810003010302000103010002038100030103010081030001000103010003030100010301000203010006030100010301000103010001030100050301002c03810f080908060301087f03320302048105008204010401047f037f032903010f2b03040001030100040303000403010001030100030301000203010001030100050301000603810003020301000203030004030100810300810003810300810003030302008103008100038103008100030603040002030200810300820003000300400301087f03320302048105008204010401047f037f032903010f59030100010301007f030e0301087f03320302048105008204010401047f037f032903010f5a0303007f030f0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f036e0301087f03320302048105008204010401047f037f032903010f7f0870087f03320302048105008204010401047f037f032903810f087f0870087f03320302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f037f037f037f037f034f0302048105008204010401047f017f017f017f017f014f0102048105008204010401040d01810001020105000201030004010100050101007f017f017f017f017f010301810001060103000f0102048105008204010401040b01020008018100018201000102018100010101810001820100010201810001820100017f017f017f017f017f010200060181000102018100010d0102048105008204010401040d0181000106018100010101810001050181000102018100018201000102018100017f017f017f017f017601810001010181000103018100010a018100010d010204810500
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -