IT/Software/Command Line Applications/Compression with Ghostscript: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) (Created page with "Use the following ghostscript command: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf -dPDFS...") |
Walttheboss (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The simplest and very effective is | |||
ps2pdf in.pdf out.pdf | |||
You can add in | |||
-dPDFSETTINGS=/screen | |||
Use the following ghostscript command: | Use the following ghostscript command: | ||
Latest revision as of 05:16, 10 November 2020
The simplest and very effective is
ps2pdf in.pdf out.pdf
You can add in
-dPDFSETTINGS=/screen
Use the following ghostscript command:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
-dPDFSETTINGS=/screen lower quality, smaller size. (72 dpi)
-dPDFSETTINGS=/ebook for better quality, but slightly larger pdfs. (150 dpi)
-dPDFSETTINGS=/prepress output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
-dPDFSETTINGS=/printer selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
-dPDFSETTINGS=/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file