[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
ghostscript
/
lib
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 PDFA_def.ps
1,276 B
SET
[ EDIT ]
|
[ DEL ]
📄 PDFX_def.ps
1,812 B
SET
[ EDIT ]
|
[ DEL ]
📄 PM760p.upp
1,160 B
SET
[ EDIT ]
|
[ DEL ]
📄 PM760pl.upp
1,124 B
SET
[ EDIT ]
|
[ DEL ]
📄 PM820p.upp
1,142 B
SET
[ EDIT ]
|
[ DEL ]
📄 PM820pl.upp
1,117 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc670p.upp
1,159 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc670pl.upp
1,124 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc680p.upp
1,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc680pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc740p.upp
1,039 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc740pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc760p.upp
1,141 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc760pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc777p.upp
1,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stc777pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stp720p.upp
1,158 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stp720pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stp870p.upp
1,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 Stp870pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 acctest.ps
4,269 B
SET
[ EDIT ]
|
[ DEL ]
📄 align.ps
2,156 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8.rpd
639 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8gc12f.upp
1,532 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8hg12f.upp
1,531 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8oh06n.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8pa06n.upp
1,525 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8pp12f.upp
1,542 B
SET
[ EDIT ]
|
[ DEL ]
📄 bj8ts06n.upp
1,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc6000a1.upp
1,660 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc6000b1.upp
1,660 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a0.upp
1,527 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a1.upp
1,516 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a2.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a3.upp
1,522 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a4.upp
1,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a5.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a6.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a7.upp
1,520 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610a8.upp
1,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b1.upp
1,516 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b2.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b3.upp
1,522 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b4.upp
1,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b6.upp
1,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b7.upp
1,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 bjc610b8.upp
1,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 caption.ps
1,759 B
SET
[ EDIT ]
|
[ DEL ]
📄 cbjc600.ppd
11,148 B
SET
[ EDIT ]
|
[ DEL ]
📄 cbjc800.ppd
11,491 B
SET
[ EDIT ]
|
[ DEL ]
📄 cdj550.upp
1,690 B
SET
[ EDIT ]
|
[ DEL ]
📄 cdj690.upp
1,999 B
SET
[ EDIT ]
|
[ DEL ]
📄 cdj690ec.upp
2,060 B
SET
[ EDIT ]
|
[ DEL ]
📄 cid2code.ps
4,491 B
SET
[ EDIT ]
|
[ DEL ]
📄 dmp_init.ps
7,246 B
SET
[ EDIT ]
|
[ DEL ]
📄 dmp_site.ps
459 B
SET
[ EDIT ]
|
[ DEL ]
📄 dnj750c.upp
2,808 B
SET
[ EDIT ]
|
[ DEL ]
📄 dnj750m.upp
1,975 B
SET
[ EDIT ]
|
[ DEL ]
📄 docie.ps
7,498 B
SET
[ EDIT ]
|
[ DEL ]
📄 escp_24.src
350 B
SET
[ EDIT ]
|
[ DEL ]
📄 font2pcl.ps
18,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 ghostpdf.ppd
25,643 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_ce_e.ps
2,219 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_il2_e.ps
2,631 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_kanji.ps
4,007 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_ksb_e.ps
3,145 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_l.xbm
1,945 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_l.xpm
2,751 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_l_m.xbm
1,955 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_lgo_e.ps
2,734 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_lgx_e.ps
1,766 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_m.xbm
945 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_m.xpm
1,437 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_m_m.xbm
955 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_s.xbm
594 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_s.xpm
957 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_s_m.xbm
604 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_t.xbm
345 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_t.xpm
605 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_t_m.xbm
355 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_wl1_e.ps
2,495 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_wl2_e.ps
2,494 B
SET
[ EDIT ]
|
[ DEL ]
📄 gs_wl5_e.ps
2,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 gslp.ps
20,728 B
SET
[ EDIT ]
|
[ DEL ]
📄 gsnup.ps
2,634 B
SET
[ EDIT ]
|
[ DEL ]
📄 ht_ccsto.ps
228,143 B
SET
[ EDIT ]
|
[ DEL ]
📄 image-qa.ps
73,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 jispaper.ps
784 B
SET
[ EDIT ]
|
[ DEL ]
📄 landscap.ps
1,468 B
SET
[ EDIT ]
|
[ DEL ]
📄 lines.ps
3,736 B
SET
[ EDIT ]
|
[ DEL ]
📄 mkcidfm.ps
22,321 B
SET
[ EDIT ]
|
[ DEL ]
📄 necp2x.upp
1,045 B
SET
[ EDIT ]
|
[ DEL ]
📄 necp2x6.upp
1,069 B
SET
[ EDIT ]
|
[ DEL ]
📄 pdf2dsc.ps
8,063 B
SET
[ EDIT ]
|
[ DEL ]
📄 pf2afm.ps
15,295 B
SET
[ EDIT ]
|
[ DEL ]
📄 pfbtopfa.ps
996 B
SET
[ EDIT ]
|
[ DEL ]
📄 ppath.ps
1,819 B
SET
[ EDIT ]
|
[ DEL ]
📄 pphs.ps
6,844 B
SET
[ EDIT ]
|
[ DEL ]
📄 prfont.ps
7,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 printafm.ps
4,898 B
SET
[ EDIT ]
|
[ DEL ]
📄 ps2ai.ps
22,306 B
SET
[ EDIT ]
|
[ DEL ]
📄 ps2epsi.ps
8,540 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras1.upp
215 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras24.upp
219 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras3.upp
214 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras32.upp
196 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras4.upp
220 B
SET
[ EDIT ]
|
[ DEL ]
📄 ras8m.upp
209 B
SET
[ EDIT ]
|
[ DEL ]
📄 rollconv.ps
12,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 s400a1.upp
1,454 B
SET
[ EDIT ]
|
[ DEL ]
📄 s400b1.upp
1,603 B
SET
[ EDIT ]
|
[ DEL ]
📄 sharp.upp
1,936 B
SET
[ EDIT ]
|
[ DEL ]
📄 sipixa6.upp
529 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640ih.upp
2,281 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640ihg.upp
1,508 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640p.upp
1,914 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640pg.upp
1,141 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640pl.upp
1,878 B
SET
[ EDIT ]
|
[ DEL ]
📄 st640plg.upp
1,105 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc.upp
1,923 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc1520h.upp
2,154 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc2.upp
1,904 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc200_h.upp
1,848 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc2_h.upp
1,879 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc2s_h.upp
2,272 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc300.upp
2,136 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc300bl.upp
1,341 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc300bm.upp
1,430 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc500p.upp
1,903 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc500ph.upp
1,903 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc600ih.upp
2,281 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc600p.upp
1,151 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc600pl.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc640p.upp
1,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc740ih.upp
2,123 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc800ih.upp
2,158 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc800p.upp
1,115 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc800pl.upp
1,097 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc_h.upp
1,913 B
SET
[ EDIT ]
|
[ DEL ]
📄 stc_l.upp
734 B
SET
[ EDIT ]
|
[ DEL ]
📄 stcany.upp
673 B
SET
[ EDIT ]
|
[ DEL ]
📄 stcany_h.upp
681 B
SET
[ EDIT ]
|
[ DEL ]
📄 stcinfo.ps
25,517 B
SET
[ EDIT ]
|
[ DEL ]
📄 stcolor.ps
5,065 B
SET
[ EDIT ]
|
[ DEL ]
📄 stocht.ps
2,494 B
SET
[ EDIT ]
|
[ DEL ]
📄 traceimg.ps
1,382 B
SET
[ EDIT ]
|
[ DEL ]
📄 traceop.ps
2,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 uninfo.ps
5,986 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewcmyk.ps
1,984 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewgif.ps
5,395 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewjpeg.ps
5,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewmiff.ps
4,253 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewpbm.ps
10,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewpcx.ps
5,232 B
SET
[ EDIT ]
|
[ DEL ]
📄 viewps2a.ps
1,136 B
SET
[ EDIT ]
|
[ DEL ]
📄 winmaps.ps
3,605 B
SET
[ EDIT ]
|
[ DEL ]
📄 zeroline.ps
2,317 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: viewjpeg.ps
%! viewjpeg.ps Copyright (C) 1994 Thomas Merz <tm@pdflib.com> % % 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. % % For more information about licensing, please refer to % http://www.ghostscript.com/licensing/. For information on % commercial licensing, go to http://www.artifex.com/licensing/ or % contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, % Novato, CA 94945, U.S.A., +1(415)492-9861. % View JPEG files with Ghostscript % % This PostScript code relies on level 2 features. % % Only JPEG baseline, extended sequential, and progressive files % are supported. Note that Adobe PostScript level 2 does not include % progressive-JPEG support. Ghostscript with IJG JPEG v6 or later % will decode progressive JPEG, but only if you edit gsjmorec.h to % enable that feature. % % Author's address: % ------------------------------+ % {(pstack exec quit) = flush } | Thomas Merz, Munich % pstack exec quit | voice +49/89/29160728 % ------------------------------+ tm@muc.de http://www.muc.de/~tm/ % % Updated by L. Peter Deutsch 20-May-1997: % move the usage example to the beginning % Updates by Tom Lane 6-Sep-1995 % Usage example: % (jpeg-6/testimg.jpg) viewJPEG /languagelevel where {pop languagelevel 2 lt}{true} ifelse { (JPEG needs PostScript Level 2!\n) print flush stop } if /JPEGdict 20 dict def JPEGdict begin /NoParamMarkers [ % JPEG markers without additional parameters 16#D0 16#D1 16#D2 16#D3 16#D4 16#D5 16#D6 16#D7 16#D8 16#01 ] def /NotSupportedMarkers [ % JPEG markers not supported by PostScript level 2 16#C3 16#C5 16#C6 16#C7 16#C8 16#C9 16#CA 16#CB 16#CD 16#CE 16#CF ] def % Names of color spaces /ColorSpaceNames << /1 /DeviceGray /3 /DeviceRGB /4 /DeviceCMYK >> def % read one byte from file F % - ==> int --or-- stop context /NextByte { F read not { (Read error in ViewJPEG!\n) print flush stop } if } bind def /SkipSegment { % read two bytes and skip that much data NextByte 8 bitshift NextByte add 2 sub { NextByte pop } repeat } bind def % read width, height, and # of components from JPEG markers % and store in dict /readJPEGmarkers { % - ==> dict --or-- stop context 5 dict begin { % loop: read JPEG marker segments until we find SOFn marker or EOF NextByte 16#FF eq { % found marker /markertype NextByte def % Is it S0F0=baseline, SOF1=extended sequential, SOF2=progressive ? markertype dup 16#C0 ge exch 16#C2 le and { NextByte pop NextByte pop % segment length % Ghostscript and Adobe PS accept only data precision 8 NextByte 8 ne { (Error: not 8 bits per component!\n) print flush stop } if % Read crucial image parameters /height NextByte 8 bitshift NextByte add def /width NextByte 8 bitshift NextByte add def /colors NextByte def VJPGDEBUG { currentdict { exch == == } forall flush } if exit } if % detect several segment types which are not compatible with PS NotSupportedMarkers { markertype eq { (Marker ) print markertype == (not supported!\n) print flush stop } if } forall % Skip segment if marker has parameters associated with it true NoParamMarkers { markertype eq {pop false exit} if } forall { SkipSegment } if } if } loop currentdict dup /markertype undef end } bind def end % JPEGdict % read image parameters from JPEG file and display the image /viewJPEG { % <file|string> ==> - save JPEGdict begin /saved exch def /scratch 1 string def dup type /stringtype eq { (r) file } if /F exch def readJPEGmarkers begin F 0 setfileposition % reset file pointer % We use the whole clipping area for the image (at least in one dimension) gsave clippath pathbbox grestore /ury exch def /urx exch def /lly exch def /llx exch def llx lly translate width height scale % use whole width or height, whichever is appropriate urx llx sub width div ury lly sub height div 2 copy gt { exch } if pop % min dup scale ColorSpaceNames colors scratch cvs get setcolorspace % prepare image dictionary << /ImageType 1 /Width width /Height height /ImageMatrix [ width 0 0 height neg 0 height ] /BitsPerComponent 8 % If 4-component (CMYK), assume data is inverted per Adobe Photoshop colors 4 eq { /Decode [ colors { 1 0 } repeat ] } { /Decode [ colors { 0 1 } repeat ] } ifelse /DataSource F /DCTDecode filter >> image end % image parameter dictionary saved end restore } bind def % This lets you do stuff on the command line like: % gs -sDEVICE=pdfwrite -o stuff%03d.pdf viewjpeg.ps -c "(image.jpg) << /PageSize 2 index viewJPEGgetsize 2 array astore >> setpagedevice viewJPEG" % so the output size matches the original image. /viewJPEGgetsize { % <file|string> ==> width height save JPEGdict begin /saved exch def /scratch 1 string def dup type /stringtype eq { (r) file } if /F exch def readJPEGmarkers begin F 0 setfileposition % reset file pointer width height saved end restore } bind def