Skip to content

Instantly share code, notes, and snippets.

@mdlincoln
Created September 25, 2015 19:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdlincoln/b435db53290b4838e9e9 to your computer and use it in GitHub Desktop.
Save mdlincoln/b435db53290b4838e9e9 to your computer and use it in GitHub Desktop.
ghostscript command to downsample a pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=OUTPUT.pdf INPUT.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment