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