Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/share/ghostscript/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/ghostscript/lib/docie.ps
% Copyright (C) 2001-2019 Artifex Software, Inc.
% All Rights Reserved.
%
% This software is provided AS-IS with no warranty, either express or
% implied.
%
% This software is distributed under license and may not be copied,
% modified or distributed except as expressly authorized under the terms
% of the license contained in the file LICENSE in this distribution.
%
% Refer to licensing information at http://www.artifex.com or contact
% Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
% CA 94945, U.S.A., +1(415)492-9861, for further information.
%

% docie.ps
% Emulate CIE algorithms in PostScript.

% ---------------- Auxiliary procedures ---------------- %

/r1default [0 1] def
/r3default [0 1 0 1 0 1] def

/apply3		% <u> <v> <w> [<pu> <pv> <pw>] apply3 <u'> <v'> <w'>
 {  { 4 -1 roll exch exec } forall
 } bind def

/restrict	% <u> <min> <max> restrict <u'>
 { 3 1 roll .max .min
 } bind def

/restrict3	% <u> <v> <w> [<minu> ... <maxw>] restrict3 <u'> <v'> <w'>
 { aload pop
   7 -1 roll 3 1 roll restrict 7 1 roll
   5 -1 roll 3 1 roll restrict 5 1 roll
   restrict 3 1 roll
 } bind def

/rescale	% <u> <min> <max> rescale <u'>
 { 1 index sub 3 1 roll sub exch div 0 .max 1 .min
 } bind def

/rescale3	% <u> <v> <w> [<minu> ... <maxw>] rescale3 <u'> <v'> <w'>
 { aload pop
   7 -1 roll 3 1 roll rescale 7 1 roll
   5 -1 roll 3 1 roll rescale 5 1 roll
   rescale 3 1 roll
 } bind def

/mmult3		% <u> <v> <w> [<uu> <uv> ... <wv> <ww>] mmult3
                %   <u'> <v'> <w'>
 { 4 -1 roll dup dup 6 -1 roll dup dup 8 -1 roll dup dup
   10 -1 roll { 10 -1 roll mul } forall
                % Stack: u1 v1 w1 u2 v2 w2 u3 v3 w3
   4 -1 roll add 6 -1 roll add
                % Stack: u1 v1 u2 v2 u3 v3 w'
   7 1 roll 3 -1 roll add 4 -1 roll add
                % Stack: w' u1 u2 u3 v'
   5 1 roll add add 3 1 roll
 } bind def

/minvert3	% [<uu> <uv> ... <wv> <ww>] minvert3
                %   [<uu'> <uv'> ... <wv'> <ww'>]
 { 16 dict begin
   aload pop { I H G F E D C B A } { exch def } forall
   /coa E I mul F H mul sub def
   /cob F G mul D I mul sub def
   /coc D H mul E G mul sub def
   /det A coa mul B cob mul add C coc mul add def
   [ coa det div
     C H mul B I mul sub det div
     B F mul C E mul sub det div
     cob det div
     A I mul C G mul sub det div
     C D mul A F mul sub det div
     coc det div
     B G mul A H mul sub det div
     A E mul B D mul sub det div
   ]
   end
 } bind def

/print1
 { print dup ==
 } bind def

/print3
 { print 3 array astore dup == aload pop
 } bind def

% ---------------- Mapping to XYZ ---------------- %

/csmap		% <csdict> <l> <m> <n> csmap <csdict> <x> <y> <z>
 { 3 index /RangeLMN .knownget not { r3default } if restrict3
DOCIEDEBUG { (After RangeLMN Decode: ) print3 } if
   3 index /DecodeLMN .knownget { apply3 } if
DOCIEDEBUG { (After DecodeLMN Decode: ) print3 } if
   3 index /MatrixLMN .knownget { mmult3 } if
DOCIEDEBUG { (After MatrixLMN Decode: ) print3 } if
 } bind def

/csciea		% <csdict> <a> csciea <csdict> <x> <y> <z>
 { 1 index /RangeA .knownget not { r1default aload pop } if restrict
DOCIEDEBUG { (After RangeA Decode: ) print1 } if
   1 index /DecodeA .knownget { exec } if
DOCIEDEBUG { (After DecodeA Decode: ) print1 } if
   1 index /MatrixA .knownget
    { { 1 index mul exch } forall pop }
    { dup dup }
   ifelse
DOCIEDEBUG { (After MatrixA Decode: ) print3 } if
   csmap
 } bind def

/cscieabc	% <csdict> <a> <b> <c> cscieabc <csdict> <x> <y> <z>
 { 3 index /RangeABC .knownget not { r3default } if restrict3
DOCIEDEBUG { (After RangeABC Decode: ) print3 } if
   3 index /DecodeABC .knownget { apply3 } if
DOCIEDEBUG { (After DecodeABC Decode: ) print3 } if
   3 index /MatrixABC .knownget { mmult3 } if
DOCIEDEBUG { (After MatrixABC Decode: ) print3 } if
   csmap
 } bind def

% ---------------- Rendering from XYZ ---------------- %

/lookup3	% <rtable> <a[0..1]> <b[0..1]> <c[0..1]> lookup3
                %   <rtable> <bytes>
 { 3 -1 roll 3 index 0 get 1 sub mul
   3 -1 roll 3 index 1 get 1 sub mul
   3 -1 roll 3 index 2 get 1 sub mul
                % Stack: rtable ia ib ic
DOCIEDEBUG { (RenderTable indices: ) print3 mark 5 1 roll } if
   3 -1 roll round cvi 3 index 3 get exch get
                % Stack: rtable ib ic string
   3 -1 roll round cvi 3 index 2 get mul
                % Stack: rtable ic string ib*nc
   3 -1 roll round cvi add 2 index 4 get mul
                % Stack: rtable string index
   2 index 4 get getinterval
                % Stack: rtable bytes
DOCIEDEBUG { (RenderTable values: ) print (<) print (%stdout) (w) file 1 index writehexstring (>) = } if
 } bind def

/bpdefault [0 0 0] def

/crmap		% <csdict> <crdict> <x> <y> <z> crmap <v1> ...
 {
DOCIEDEBUG { (CIE XYZ = ) print3 } if
   3 index /MatrixPQR .knownget { mmult3 } if
DOCIEDEBUG { (After MatrixPQR: ) print3 } if
   4 index /WhitePoint get
   5 index /BlackPoint .knownget not { bpdefault } if
   5 index /WhitePoint get
   6 index /BlackPoint .knownget not { bpdefault } if
   4
     { 4 -1 roll aload pop
                        % Stack: csdict crdict x y z pt pt pt px py pz
       3 copy 12 index /MatrixPQR .knownget { mmult3 } if 6 array astore
     }
   repeat
                        % Stack: csdict crdict x y z wps+ bps+ wpd+ bpd+
   9 -1 roll pop		% get rid of csdict
   7 4 roll
   7 index /TransformPQR get
    {			% Stack: crdict wps+ bps+ wpd+ bpd+ u v w proc
      8 copy exch pop exch pop
      exec exch pop 4 -1 roll pop
    }
   forall
   7 3 roll pop pop pop pop	% get rid of White/BlackPoints
DOCIEDEBUG { (After TransformPQR: ) print3 } if
   3 index /MatrixPQR .knownget { minvert3 mmult3 } if
DOCIEDEBUG { (After MatrixPQR': ) print3 } if
   3 index /MatrixLMN .knownget { mmult3 } if
DOCIEDEBUG { (After MatrixLMN Encode: ) print3 } if
   3 index /EncodeLMN .knownget { apply3 } if
DOCIEDEBUG { (After EncodeLMN Encode: ) print3 } if
   3 index /RangeLMN .knownget not { r3default } if restrict3
DOCIEDEBUG { (After RangeLMN Encode: ) print3 } if
   3 index /MatrixABC .knownget { mmult3 } if
DOCIEDEBUG { (After MatrixABC Encode: ) print3 } if
   3 index /EncodeABC .knownget { apply3 } if
DOCIEDEBUG { (After EncodeABC Encode: ) print3 } if
   3 index /RangeABC .knownget not { r3default } if
   5 -1 roll /RenderTable .knownget
    {		% Stack: u v w ranges rtable
      5 1 roll rescale3
DOCIEDEBUG { (Rescaled ABC: ) print3 } if
                % Stack: rtable a b c
      lookup3
                % Stack: rtable bytes
      0 1 3 index 4 get 1 sub
       {	% Stack: values rtable bytes c
         2 copy get 255 div
                % Stack: values rtable bytes c v
         3 index 3 -1 roll 5 add get exec 3 1 roll
       }
      for pop pop
DOCIEDEBUG { (After RenderTableT: ) print ] dup == aload pop } if
    }
    { restrict3
DOCIEDEBUG { (After RangeABC Encode: ) print3 } if
    }
   ifelse
 } bind def

% ---------------- Top level control ---------------- %

/mapdict mark
  /CIEBasedA { 1 get exch csciea currentcolorrendering 4 1 roll crmap } bind
  /DeviceGray { pop /DefaultGray /ColorSpace findresource 1 get exch csciea currentcolorrendering 4 1 roll crmap } bind
  /CIEBasedABC { 1 get 4 1 roll cscieabc currentcolorrendering 4 1 roll crmap } bind
  /DeviceRGB { pop /DefaultRGB /ColorSpace findresource 1 get 4 1 roll cscieabc currentcolorrendering 4 1 roll crmap } bind
.dicttomark def
/mapcie		% <a> mapcie <v1> ...
                % <a> <b> <c> mapcie <v1> ...
 { currentcolorspace dup 0 get //mapdict exch get exec
 } bind def
Name
Size
Permissions
Options
PDFA_def.ps
1.246 KB
-rw-r--r--
PDFX_def.ps
1.77 KB
-rw-r--r--
PM760p.upp
1.133 KB
-rw-r--r--
PM760pl.upp
1.098 KB
-rw-r--r--
PM820p.upp
1.115 KB
-rw-r--r--
PM820pl.upp
1.091 KB
-rw-r--r--
Stc670p.upp
1.132 KB
-rw-r--r--
Stc670pl.upp
1.098 KB
-rw-r--r--
Stc680p.upp
1.113 KB
-rw-r--r--
Stc680pl.upp
1.089 KB
-rw-r--r--
Stc740p.upp
1.015 KB
-rw-r--r--
Stc740pl.upp
1.089 KB
-rw-r--r--
Stc760p.upp
1.114 KB
-rw-r--r--
Stc760pl.upp
1.089 KB
-rw-r--r--
Stc777p.upp
1.113 KB
-rw-r--r--
Stc777pl.upp
1.089 KB
-rw-r--r--
Stp720p.upp
1.131 KB
-rw-r--r--
Stp720pl.upp
1.089 KB
-rw-r--r--
Stp870p.upp
1.113 KB
-rw-r--r--
Stp870pl.upp
1.089 KB
-rw-r--r--
acctest.ps
4.169 KB
-rw-r--r--
align.ps
2.105 KB
-rw-r--r--
bj8.rpd
0.624 KB
-rw-r--r--
bj8gc12f.upp
1.496 KB
-rw-r--r--
bj8hg12f.upp
1.495 KB
-rw-r--r--
bj8oh06n.upp
1.481 KB
-rw-r--r--
bj8pa06n.upp
1.489 KB
-rw-r--r--
bj8pp12f.upp
1.506 KB
-rw-r--r--
bj8ts06n.upp
1.494 KB
-rw-r--r--
bjc6000a1.upp
1.621 KB
-rw-r--r--
bjc6000b1.upp
1.621 KB
-rw-r--r--
bjc610a0.upp
1.491 KB
-rw-r--r--
bjc610a1.upp
1.48 KB
-rw-r--r--
bjc610a2.upp
1.481 KB
-rw-r--r--
bjc610a3.upp
1.486 KB
-rw-r--r--
bjc610a4.upp
1.494 KB
-rw-r--r--
bjc610a5.upp
1.481 KB
-rw-r--r--
bjc610a6.upp
1.481 KB
-rw-r--r--
bjc610a7.upp
1.484 KB
-rw-r--r--
bjc610a8.upp
1.49 KB
-rw-r--r--
bjc610b1.upp
1.48 KB
-rw-r--r--
bjc610b2.upp
1.481 KB
-rw-r--r--
bjc610b3.upp
1.486 KB
-rw-r--r--
bjc610b4.upp
1.494 KB
-rw-r--r--
bjc610b6.upp
1.481 KB
-rw-r--r--
bjc610b7.upp
1.485 KB
-rw-r--r--
bjc610b8.upp
1.49 KB
-rw-r--r--
caption.ps
1.718 KB
-rw-r--r--
cbjc600.ppd
10.887 KB
-rw-r--r--
cbjc800.ppd
11.222 KB
-rw-r--r--
cdj550.upp
1.65 KB
-rw-r--r--
cdj690.upp
1.952 KB
-rw-r--r--
cdj690ec.upp
2.012 KB
-rw-r--r--
cid2code.ps
4.386 KB
-rw-r--r--
dmp_init.ps
7.076 KB
-rw-r--r--
dmp_site.ps
0.448 KB
-rw-r--r--
dnj750c.upp
2.742 KB
-rw-r--r--
dnj750m.upp
1.929 KB
-rw-r--r--
docie.ps
7.322 KB
-rw-r--r--
escp_24.src
0.342 KB
-rw-r--r--
font2pcl.ps
18.007 KB
-rw-r--r--
ghostpdf.ppd
25.042 KB
-rw-r--r--
gs_ce_e.ps
2.167 KB
-rw-r--r--
gs_il2_e.ps
2.569 KB
-rw-r--r--
gs_kanji.ps
3.913 KB
-rw-r--r--
gs_ksb_e.ps
3.071 KB
-rw-r--r--
gs_l.xbm
1.899 KB
-rw-r--r--
gs_l.xpm
2.687 KB
-rw-r--r--
gs_l_m.xbm
1.909 KB
-rw-r--r--
gs_lgo_e.ps
2.67 KB
-rw-r--r--
gs_lgx_e.ps
1.725 KB
-rw-r--r--
gs_m.xbm
0.923 KB
-rw-r--r--
gs_m.xpm
1.403 KB
-rw-r--r--
gs_m_m.xbm
0.933 KB
-rw-r--r--
gs_s.xbm
0.58 KB
-rw-r--r--
gs_s.xpm
0.935 KB
-rw-r--r--
gs_s_m.xbm
0.59 KB
-rw-r--r--
gs_t.xbm
0.337 KB
-rw-r--r--
gs_t.xpm
0.591 KB
-rw-r--r--
gs_t_m.xbm
0.347 KB
-rw-r--r--
gs_wl1_e.ps
2.437 KB
-rw-r--r--
gs_wl2_e.ps
2.436 KB
-rw-r--r--
gs_wl5_e.ps
2.453 KB
-rw-r--r--
gslp.ps
20.242 KB
-rw-r--r--
gsnup.ps
2.572 KB
-rw-r--r--
ht_ccsto.ps
222.796 KB
-rw-r--r--
image-qa.ps
71.338 KB
-rw-r--r--
jispaper.ps
0.766 KB
-rw-r--r--
landscap.ps
1.434 KB
-rw-r--r--
lines.ps
3.648 KB
-rw-r--r--
mkcidfm.ps
21.798 KB
-rw-r--r--
necp2x.upp
1.021 KB
-rw-r--r--
necp2x6.upp
1.044 KB
-rw-r--r--
pdf2dsc.ps
7.874 KB
-rw-r--r--
pf2afm.ps
14.937 KB
-rw-r--r--
pfbtopfa.ps
0.973 KB
-rw-r--r--
ppath.ps
1.776 KB
-rw-r--r--
pphs.ps
6.684 KB
-rw-r--r--
prfont.ps
7.044 KB
-rw-r--r--
printafm.ps
4.783 KB
-rw-r--r--
ps2ai.ps
21.783 KB
-rw-r--r--
ps2epsi.ps
8.34 KB
-rw-r--r--
ras1.upp
0.21 KB
-rw-r--r--
ras24.upp
0.214 KB
-rw-r--r--
ras3.upp
0.209 KB
-rw-r--r--
ras32.upp
0.191 KB
-rw-r--r--
ras4.upp
0.215 KB
-rw-r--r--
ras8m.upp
0.204 KB
-rw-r--r--
rollconv.ps
12.232 KB
-rw-r--r--
s400a1.upp
1.42 KB
-rw-r--r--
s400b1.upp
1.565 KB
-rw-r--r--
sharp.upp
1.891 KB
-rw-r--r--
sipixa6.upp
0.517 KB
-rw-r--r--
st640ih.upp
2.228 KB
-rw-r--r--
st640ihg.upp
1.473 KB
-rw-r--r--
st640p.upp
1.869 KB
-rw-r--r--
st640pg.upp
1.114 KB
-rw-r--r--
st640pl.upp
1.834 KB
-rw-r--r--
st640plg.upp
1.079 KB
-rw-r--r--
stc.upp
1.878 KB
-rw-r--r--
stc1520h.upp
2.104 KB
-rw-r--r--
stc2.upp
1.859 KB
-rw-r--r--
stc200_h.upp
1.805 KB
-rw-r--r--
stc2_h.upp
1.835 KB
-rw-r--r--
stc2s_h.upp
2.219 KB
-rw-r--r--
stc300.upp
2.086 KB
-rw-r--r--
stc300bl.upp
1.31 KB
-rw-r--r--
stc300bm.upp
1.396 KB
-rw-r--r--
stc500p.upp
1.858 KB
-rw-r--r--
stc500ph.upp
1.858 KB
-rw-r--r--
stc600ih.upp
2.228 KB
-rw-r--r--
stc600p.upp
1.124 KB
-rw-r--r--
stc600pl.upp
1.089 KB
-rw-r--r--
stc640p.upp
1.069 KB
-rw-r--r--
stc740ih.upp
2.073 KB
-rw-r--r--
stc800ih.upp
2.107 KB
-rw-r--r--
stc800p.upp
1.089 KB
-rw-r--r--
stc800pl.upp
1.071 KB
-rw-r--r--
stc_h.upp
1.868 KB
-rw-r--r--
stc_l.upp
0.717 KB
-rw-r--r--
stcany.upp
0.657 KB
-rw-r--r--
stcany_h.upp
0.665 KB
-rw-r--r--
stcinfo.ps
24.919 KB
-rw-r--r--
stcolor.ps
4.946 KB
-rw-r--r--
stocht.ps
2.436 KB
-rw-r--r--
traceimg.ps
1.35 KB
-rw-r--r--
traceop.ps
2.512 KB
-rw-r--r--
uninfo.ps
5.846 KB
-rw-r--r--
viewcmyk.ps
1.938 KB
-rw-r--r--
viewgif.ps
5.269 KB
-rw-r--r--
viewjpeg.ps
5.558 KB
-rw-r--r--
viewmiff.ps
4.153 KB
-rw-r--r--
viewpbm.ps
10.041 KB
-rw-r--r--
viewpcx.ps
5.109 KB
-rw-r--r--
viewps2a.ps
1.109 KB
-rw-r--r--
winmaps.ps
3.521 KB
-rw-r--r--
zeroline.ps
2.263 KB
-rw-r--r--