X7ROOT File Manager
Current Path:
/usr/share/ghostscript/lib
usr
/
share
/
ghostscript
/
lib
/
??
..
??
PDFA_def.ps
(1.25 KB)
??
PDFX_def.ps
(1.77 KB)
??
PM760p.upp
(1.13 KB)
??
PM760pl.upp
(1.1 KB)
??
PM820p.upp
(1.12 KB)
??
PM820pl.upp
(1.09 KB)
??
Stc670p.upp
(1.13 KB)
??
Stc670pl.upp
(1.1 KB)
??
Stc680p.upp
(1.11 KB)
??
Stc680pl.upp
(1.09 KB)
??
Stc740p.upp
(1.01 KB)
??
Stc740pl.upp
(1.09 KB)
??
Stc760p.upp
(1.11 KB)
??
Stc760pl.upp
(1.09 KB)
??
Stc777p.upp
(1.11 KB)
??
Stc777pl.upp
(1.09 KB)
??
Stp720p.upp
(1.13 KB)
??
Stp720pl.upp
(1.09 KB)
??
Stp870p.upp
(1.11 KB)
??
Stp870pl.upp
(1.09 KB)
??
acctest.ps
(4.17 KB)
??
align.ps
(2.11 KB)
??
bj8.rpd
(639 B)
??
bj8gc12f.upp
(1.5 KB)
??
bj8hg12f.upp
(1.5 KB)
??
bj8oh06n.upp
(1.48 KB)
??
bj8pa06n.upp
(1.49 KB)
??
bj8pp12f.upp
(1.51 KB)
??
bj8ts06n.upp
(1.49 KB)
??
bjc6000a1.upp
(1.62 KB)
??
bjc6000b1.upp
(1.62 KB)
??
bjc610a0.upp
(1.49 KB)
??
bjc610a1.upp
(1.48 KB)
??
bjc610a2.upp
(1.48 KB)
??
bjc610a3.upp
(1.49 KB)
??
bjc610a4.upp
(1.49 KB)
??
bjc610a5.upp
(1.48 KB)
??
bjc610a6.upp
(1.48 KB)
??
bjc610a7.upp
(1.48 KB)
??
bjc610a8.upp
(1.49 KB)
??
bjc610b1.upp
(1.48 KB)
??
bjc610b2.upp
(1.48 KB)
??
bjc610b3.upp
(1.49 KB)
??
bjc610b4.upp
(1.49 KB)
??
bjc610b6.upp
(1.48 KB)
??
bjc610b7.upp
(1.49 KB)
??
bjc610b8.upp
(1.49 KB)
??
caption.ps
(1.72 KB)
??
cbjc600.ppd
(10.89 KB)
??
cbjc800.ppd
(11.22 KB)
??
cdj550.upp
(1.65 KB)
??
cdj690.upp
(1.95 KB)
??
cdj690ec.upp
(2.01 KB)
??
cid2code.ps
(4.39 KB)
??
dmp_init.ps
(7.08 KB)
??
dmp_site.ps
(459 B)
??
dnj750c.upp
(2.74 KB)
??
dnj750m.upp
(1.93 KB)
??
docie.ps
(7.32 KB)
??
escp_24.src
(350 B)
??
font2pcl.ps
(18.01 KB)
??
ghostpdf.ppd
(25.04 KB)
??
gs_ce_e.ps
(2.17 KB)
??
gs_il2_e.ps
(2.57 KB)
??
gs_kanji.ps
(3.91 KB)
??
gs_ksb_e.ps
(3.07 KB)
??
gs_l.xbm
(1.9 KB)
??
gs_l.xpm
(2.69 KB)
??
gs_l_m.xbm
(1.91 KB)
??
gs_lgo_e.ps
(2.67 KB)
??
gs_lgx_e.ps
(1.72 KB)
??
gs_m.xbm
(945 B)
??
gs_m.xpm
(1.4 KB)
??
gs_m_m.xbm
(955 B)
??
gs_s.xbm
(594 B)
??
gs_s.xpm
(957 B)
??
gs_s_m.xbm
(604 B)
??
gs_t.xbm
(345 B)
??
gs_t.xpm
(605 B)
??
gs_t_m.xbm
(355 B)
??
gs_wl1_e.ps
(2.44 KB)
??
gs_wl2_e.ps
(2.44 KB)
??
gs_wl5_e.ps
(2.45 KB)
??
gslp.ps
(20.24 KB)
??
gsnup.ps
(2.57 KB)
??
ht_ccsto.ps
(222.8 KB)
??
image-qa.ps
(71.34 KB)
??
jispaper.ps
(784 B)
??
landscap.ps
(1.43 KB)
??
lines.ps
(3.65 KB)
??
mkcidfm.ps
(21.8 KB)
??
necp2x.upp
(1.02 KB)
??
necp2x6.upp
(1.04 KB)
??
pdf2dsc.ps
(7.87 KB)
??
pf2afm.ps
(14.94 KB)
??
pfbtopfa.ps
(996 B)
??
ppath.ps
(1.78 KB)
??
pphs.ps
(6.68 KB)
??
prfont.ps
(7.04 KB)
??
printafm.ps
(4.78 KB)
??
ps2ai.ps
(21.78 KB)
??
ps2epsi.ps
(8.34 KB)
??
ras1.upp
(215 B)
??
ras24.upp
(219 B)
??
ras3.upp
(214 B)
??
ras32.upp
(196 B)
??
ras4.upp
(220 B)
??
ras8m.upp
(209 B)
??
rollconv.ps
(12.23 KB)
??
s400a1.upp
(1.42 KB)
??
s400b1.upp
(1.57 KB)
??
sharp.upp
(1.89 KB)
??
sipixa6.upp
(529 B)
??
st640ih.upp
(2.23 KB)
??
st640ihg.upp
(1.47 KB)
??
st640p.upp
(1.87 KB)
??
st640pg.upp
(1.11 KB)
??
st640pl.upp
(1.83 KB)
??
st640plg.upp
(1.08 KB)
??
stc.upp
(1.88 KB)
??
stc1520h.upp
(2.1 KB)
??
stc2.upp
(1.86 KB)
??
stc200_h.upp
(1.8 KB)
??
stc2_h.upp
(1.83 KB)
??
stc2s_h.upp
(2.22 KB)
??
stc300.upp
(2.09 KB)
??
stc300bl.upp
(1.31 KB)
??
stc300bm.upp
(1.4 KB)
??
stc500p.upp
(1.86 KB)
??
stc500ph.upp
(1.86 KB)
??
stc600ih.upp
(2.23 KB)
??
stc600p.upp
(1.12 KB)
??
stc600pl.upp
(1.09 KB)
??
stc640p.upp
(1.07 KB)
??
stc740ih.upp
(2.07 KB)
??
stc800ih.upp
(2.11 KB)
??
stc800p.upp
(1.09 KB)
??
stc800pl.upp
(1.07 KB)
??
stc_h.upp
(1.87 KB)
??
stc_l.upp
(734 B)
??
stcany.upp
(673 B)
??
stcany_h.upp
(681 B)
??
stcinfo.ps
(24.92 KB)
??
stcolor.ps
(4.95 KB)
??
stocht.ps
(2.44 KB)
??
traceimg.ps
(1.35 KB)
??
traceop.ps
(2.51 KB)
??
uninfo.ps
(5.85 KB)
??
viewcmyk.ps
(1.94 KB)
??
viewgif.ps
(5.27 KB)
??
viewjpeg.ps
(5.56 KB)
??
viewmiff.ps
(4.15 KB)
??
viewpbm.ps
(10.04 KB)
??
viewpcx.ps
(5.11 KB)
??
viewps2a.ps
(1.11 KB)
??
winmaps.ps
(3.52 KB)
??
zeroline.ps
(2.26 KB)
Editing: viewpcx.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. % % viewpcx.ps % Display a PCX file. % Requires the Level 2 `image' operator (to handle variable pixel widths). % If SCALE is defined, maps input pixels to output pixels with that scale; % if SCALE is undefined, scales the image to fit the page. % If FITPAGE is true it fits the output page size to the image, honouring SCALE % ****NOTE: does not handle multi-plane images with palette. /pcxbytes [ 0 1 255 { 64 string exch 0 1 63 { 3 copy exch put pop } for pop } for ] readonly def /readpcx { % - readpcx <str> f % gets replaced dup read not { pop () } { dup 192 lt { ( ) dup 0 4 -1 roll put exch pop } { 192 sub //pcxbytes 3 -1 roll read pop get exch 0 exch getinterval } ifelse } ifelse } def /get2 % <string> <index> get2 <int> { 2 copy get 3 1 roll 1 add get 8 bitshift add } bind def /dsproc { df s readstring pop % s gets filled in s1 () ne { df s1 readstring pop pop } if % discard padding bytes } def % don't bind, must be writable /viewpcx % <filename> viewpcx - { 100 dict begin /fname 1 index def /f exch (r) file def % Read and unpack the header. /header f 128 string readstring pop def /version header 1 get def /bpp header 3 get def /w header 8 get2 header 4 get2 sub 1 add def /h header 10 get2 header 6 get2 sub 1 add def /FITPAGE where { /FITPAGE get { 5 dict begin /SCALE where { pop /Width w SCALE mul def /Height h SCALE mul def } { /Width w def /Height h def } ifelse % we've already set the image color space, so % push it on the stack, and set it again after % setting the page size <</PageSize [Width Height] >> setpagedevice end } if } { /FITPAGE false def } ifelse /nplanes header 65 get def /bpl header 66 get2 def /palinfo header 68 get2 def /nbits bpp nplanes mul def version 5 eq { nbits 8 le { /cspace [/Indexed /DeviceRGB 1 bpp bitshift 1 sub f fileposition 1 nbits bitshift 3 mul string fname status pop pop pop exch pop 1 index length sub f exch setfileposition f exch readstring pop exch f exch setfileposition ] def /decode [0 cspace 2 get] def } { /cspace /DeviceRGB def /decode [0 1 0 1 0 1] def } ifelse } { /cspace [/Indexed /DeviceRGB 1 bpp bitshift 1 sub header 16 1 nbits bitshift 16 .min 3 mul getinterval ] def /decode [0 cspace 2 get] def } ifelse % Set up scaling. /SCALE where { pop FITPAGE { % Map pixels SCALE-for-1. Assume orthogonal transformation. w SCALE mul h SCALE mul } { % Map pixels SCALE-for-1. Assume orthogonal transformation. w 1 0 dtransform add abs div SCALE mul h 0 1 dtransform add abs div SCALE mul } ifelse } { FITPAGE { w h } { % Scale the image (uniformly) to fit the page. clippath pathbbox pop pop translate pathbbox .min exch pop exch pop ceiling dup h w gt { w mul h div exch } { h mul w div } ifelse } ifelse } ifelse scale % Since the number of bytes per line is always even, % it may not match the width specification. /wbpl w bpp mul 7 add 8 idiv def % Define the data source procedure. /s1 bpl wbpl sub string def /df /readpcx load copyarray dup 0 f put cvx bind readonly 0 () /SubFileDecode filter def /dsource [ nplanes { /dsproc load copyarray dup 1 wbpl string put cvx bind readonly } repeat ] def % Construct the image dictionary. 20 dict begin % image dictionary /ImageType 1 def /Width w def /Height h def /ImageMatrix [w 0 0 h neg 0 h] def /BitsPerComponent bpp def /Decode decode def /DataSource dsource dup length 1 gt { /MultipleDataSources true def } { 0 get } ifelse def currentdict end % Finally, display the image. cspace setcolorspace image showpage df closefile f closefile end } bind def % If the program was invoked from the command line, run it now. [ .shellarguments { counttomark 1 ge { ] { viewpcx } forall } { cleartomark (Usage: gs -- viewpcx.ps filename.pcx ...\n) print ( e.g.: gs -- viewpcx.ps my.pcx another.pcx\n) print flush } ifelse } { pop } ifelse
Upload File
Create Folder