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 output_print_to_file.ps ( 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 output_print_to_file.ps

Reply
The content of this field is kept private and will not be shown publicly.
CAPTCHA
Deze vraag is om te controleren of u een persoon bent. Di is om spam berichten tegen te gaan.