Skip to content

Instantly share code, notes, and snippets.

@omartrigui
Created July 29, 2018 17:41
Show Gist options
  • Save omartrigui/9671462fee9075e35691077a3c993c32 to your computer and use it in GitHub Desktop.
Save omartrigui/9671462fee9075e35691077a3c993c32 to your computer and use it in GitHub Desktop.
Smaller PDF
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=mydocsmaller.pdf mydoc.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment