PATH: //proc/self/root/usr/share/ghostscript/lib
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 PDFA_def.ps
↓
X
📄 PDFX_def.ps
↓
X
📄 PM760p.upp
↓
X
📄 PM760pl.upp
↓
X
📄 PM820p.upp
↓
X
📄 PM820pl.upp
↓
X
📄 Stc670p.upp
↓
X
📄 Stc670pl.upp
↓
X
📄 Stc680p.upp
↓
X
📄 Stc680pl.upp
↓
X
📄 Stc740p.upp
↓
X
📄 Stc740pl.upp
↓
X
📄 Stc760p.upp
↓
X
📄 Stc760pl.upp
↓
X
📄 Stc777p.upp
↓
X
📄 Stc777pl.upp
↓
X
📄 Stp720p.upp
↓
X
📄 Stp720pl.upp
↓
X
📄 Stp870p.upp
↓
X
📄 Stp870pl.upp
↓
X
📄 acctest.ps
↓
X
📄 align.ps
↓
X
📄 bj8.rpd
↓
X
📄 bj8gc12f.upp
↓
X
📄 bj8hg12f.upp
↓
X
📄 bj8oh06n.upp
↓
X
📄 bj8pa06n.upp
↓
X
📄 bj8pp12f.upp
↓
X
📄 bj8ts06n.upp
↓
X
📄 bjc6000a1.upp
↓
X
📄 bjc6000b1.upp
↓
X
📄 bjc610a0.upp
↓
X
📄 bjc610a1.upp
↓
X
📄 bjc610a2.upp
↓
X
📄 bjc610a3.upp
↓
X
📄 bjc610a4.upp
↓
X
📄 bjc610a5.upp
↓
X
📄 bjc610a6.upp
↓
X
📄 bjc610a7.upp
↓
X
📄 bjc610a8.upp
↓
X
📄 bjc610b1.upp
↓
X
📄 bjc610b2.upp
↓
X
📄 bjc610b3.upp
↓
X
📄 bjc610b4.upp
↓
X
📄 bjc610b6.upp
↓
X
📄 bjc610b7.upp
↓
X
📄 bjc610b8.upp
↓
X
📄 caption.ps
↓
X
📄 cbjc600.ppd
↓
X
📄 cbjc800.ppd
↓
X
📄 cdj550.upp
↓
X
📄 cdj690.upp
↓
X
📄 cdj690ec.upp
↓
X
📄 cid2code.ps
↓
X
📄 dnj750c.upp
↓
X
📄 dnj750m.upp
↓
X
📄 docie.ps
↓
X
📄 font2pcl.ps
↓
X
📄 ghostpdf.ppd
↓
X
📄 gs_ce_e.ps
↓
X
📄 gs_css_e.ps
↓
X
📄 gs_il2_e.ps
↓
X
📄 gs_kanji.ps
↓
X
📄 gs_ksb_e.ps
↓
X
📄 gs_l.xbm
↓
X
📄 gs_l.xpm
↓
X
📄 gs_l_m.xbm
↓
X
📄 gs_lgo_e.ps
↓
X
📄 gs_lgx_e.ps
↓
X
📄 gs_m.xbm
↓
X
📄 gs_m.xpm
↓
X
📄 gs_m_m.xbm
↓
X
📄 gs_s.xbm
↓
X
📄 gs_s.xpm
↓
X
📄 gs_s_m.xbm
↓
X
📄 gs_t.xbm
↓
X
📄 gs_t.xpm
↓
X
📄 gs_t_m.xbm
↓
X
📄 gs_wl1_e.ps
↓
X
📄 gs_wl2_e.ps
↓
X
📄 gs_wl5_e.ps
↓
X
📄 gslp.ps
↓
X
📄 gsnup.ps
↓
X
📄 ht_ccsto.ps
↓
X
📄 image-qa.ps
↓
X
📄 jispaper.ps
↓
X
📄 landscap.ps
↓
X
📄 lines.ps
↓
X
📄 mkcidfm.ps
↓
X
📄 necp2x.upp
↓
X
📄 necp2x6.upp
↓
X
📄 pdf2dsc.ps
↓
X
📄 pdf_info.ps
↓
X
📄 pf2afm.ps
↓
X
📄 pfbtopfa.ps
↓
X
📄 ppath.ps
↓
X
📄 pphs.ps
↓
X
📄 prfont.ps
↓
X
📄 printafm.ps
↓
X
📄 ps2ai.ps
↓
X
📄 ps2epsi.ps
↓
X
📄 ras1.upp
↓
X
📄 ras24.upp
↓
X
📄 ras3.upp
↓
X
📄 ras32.upp
↓
X
📄 ras4.upp
↓
X
📄 ras8m.upp
↓
X
📄 rollconv.ps
↓
X
📄 s400a1.upp
↓
X
📄 s400b1.upp
↓
X
📄 sharp.upp
↓
X
📄 sipixa6.upp
↓
X
📄 st640ih.upp
↓
X
📄 st640ihg.upp
↓
X
📄 st640p.upp
↓
X
📄 st640pg.upp
↓
X
📄 st640pl.upp
↓
X
📄 st640plg.upp
↓
X
📄 stc.upp
↓
X
📄 stc1520h.upp
↓
X
📄 stc2.upp
↓
X
📄 stc200_h.upp
↓
X
📄 stc2_h.upp
↓
X
📄 stc2s_h.upp
↓
X
📄 stc300.upp
↓
X
📄 stc300bl.upp
↓
X
📄 stc300bm.upp
↓
X
📄 stc500p.upp
↓
X
📄 stc500ph.upp
↓
X
📄 stc600ih.upp
↓
X
📄 stc600p.upp
↓
X
📄 stc600pl.upp
↓
X
📄 stc640p.upp
↓
X
📄 stc740ih.upp
↓
X
📄 stc800ih.upp
↓
X
📄 stc800p.upp
↓
X
📄 stc800pl.upp
↓
X
📄 stc_h.upp
↓
X
📄 stc_l.upp
↓
X
📄 stcany.upp
↓
X
📄 stcany_h.upp
↓
X
📄 stcinfo.ps
↓
X
📄 stcolor.ps
↓
X
📄 stocht.ps
↓
X
📄 traceimg.ps
↓
X
📄 traceop.ps
↓
X
📄 uninfo.ps
↓
X
📄 viewcmyk.ps
↓
X
📄 viewgif.ps
↓
X
📄 viewjpeg.ps
↓
X
📄 viewmiff.ps
↓
X
📄 viewpbm.ps
↓
X
📄 viewpcx.ps
↓
X
📄 viewps2a.ps
↓
X
📄 winmaps.ps
↓
X
📄 zeroline.ps
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: 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
SIMPAN PERUBAHAN