Zsolt Lattmann

My personal website

View the Project on GitHub lattmann/zsoltlattmann.com

Home page

Reduce size of PDF

Assumes that gs - GhostScript is installed on your machine and available in the path.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=small.pdf original.pdf