Compress PDF files

Compressing PDF file can be don on many different ways. This is how I got the best result. By compressing a 14.4MB file with big HiRes pictures to a 2.7MB file for screen use.

In Ubuntu (Linux) open the PDF in a PDF viewer

Print the PDF to a file with the file -> print -> ps, name the file ( this makes a large postscript file)

Now on the command line use this GhostScript command

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dDownsampleColorImages=true  -dColorImageResolution=150 -dNOPAUSE  -dBATCH -sOutputFile=output_gs.pdf

Post new comment
The content of this field is kept private and will not be shown publicly.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.