📄 display.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /u/user/loos/DemoGNG/tex/eps/Display.ps%%Creator: XV Version 3.10a Rev: 12/29/94 - by John Bradley%%BoundingBox: 239 35 357 806%%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 36 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner239 35 translate% size of image (on paper, in 1/72inch coords)118.08000 770.83200 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 12 string def% load up the colormapcurrentfile cmap readhexstring000000 bebebe 656565 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 def36 235 8 % dimensions of data[36 0 0 -235 0 235] % mapping matrixrlecmapimage230322030002210301022003020203031b01030203031b01030203031b01030203031b010302030302010500030101000c010302030302018100010601810001820100010a01030203030201810001050181000102018100010901030203030201040002018100010201810001090103020303070181000182010001020181000109010302030307018100018201000102018100010901030203030701810001820100010201810001090103020303020181000102018100010101810001820100010a010302030303010300040101000c01030203031b01030203031b01030203031b01030203031b01030203031f020203200201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010307018100011501010201030501020016010102010307018100011501010201030701810001150101020103070181000115010102010307018100011501010201030701810001150101020103070181000115010102010307018100011501010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201030501030015010102010304018100010201810001130101020103090181000113010102010309018100011301010201030801810001140101020103070181000115010102010306018100011601010201030501810001170101020103040105001401010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010304010500140101020103040181000118010102010304018100011801010201030401040015010102010309018100011301010201030901810001130101020103090181000113010102010304018100010201810001130101020103050103001501010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201030701810001040101000e0101020103050102000401810001820100010c01010201030701810001020181000102018100010b01010201030701810001020181000102018100010b01010201030701810001020181000102018100010b01010201030701810001020181000102018100010b01010201030701810001020181000102018100010b010102010307018100010301810001820100010c01010201030701810001040101000e01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010305010300040101000e0101020103040181000102018100010101810001820100010c010102010309018100018201000102018100010b010102010309018100018201000102018100010b01010201030801810001010181000102018100010b01010201030701810001020181000102018100010b01010201030601810001030181000102018100010b010102010305018100010501810001820100010c010102010304010500030101000e01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010307010100040101000e0101020103060183000100010201810001820100010c0101020103050181000182010001010181000102018100010b010102010304018100010101810001010181000102018100010b010102010303018100010201810001010181000102018100010b010102010303010600010181000102018100010b01010201030801810001010181000102018100010b010102010308018100010201810001820100010c01010201030801810001030101000e01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010305010300040101000e0101020103040181000102018100010101810001820100010c0101020103040181000102018100018201000102018100010b0101020103040181000102018100018201000102018100010b010102010305010300020181000102018100010b0101020103040181000102018100018201000102018100010b0101020103040181000102018100018201000102018100010b0101020103040181000102018100010101810001820100010c010102010305010300040101000e01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010307018100010401010005010100060101020103050102000401810001820100010201810001820100010401010201030701810001020181000102018100018201000102018100010301010201030701810001020181000102018100018201000102018100010301010201030701810001020181000102018100018201000102018100010301010201030701810001020181000102018100018201000102018100010301010201030701810001020181000102018100018201000102018100010301010201030701810001030181000182010001020181000182010001040101020103070181000104010100050101000601010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010307018100010201050003010100060101020103050102000301810001060181000182010001040101020103070181000102018100010501810001020181000103010102010307018100010201040002018100010201810001030101020103070181000107018100018201000102018100010301010201030701810001070181000182010001020181000103010102010307018100010701810001820100010201810001030101020103070181000102018100010201810001010181000182010001040101020103070181000103010300040101000601010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f01010201031f0101020103050103000401010005010100060101020103040181000102018100010101810001820100010201810001820100010401010201030901810001820100010201810001820100010201810001030101020103090181000182010001020181000182010001020181000103010102010308018100010101810001020181000182010001020181000103010102010307018100010201810001020181000182010001020181000103010102010306018100010301810001020181000182010001020181000103010102010305018100010501810001820100010201810001820100010401010201030401050003010100050101000601010201031f01010201031f01010201031f01010201031f01010201031f01010201031f010102010321028103022102%% Compression made this file 10.72% of the uncompressed size.%showpage% stop using temporary dictionaryend% restore original stateorigstate restore%%Trailer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -