Skip to content

Instantly share code, notes, and snippets.

@caarmen
Created April 7, 2016 19:55
Show Gist options
  • Save caarmen/5e6e8699a7087118a4c02fdab7403976 to your computer and use it in GitHub Desktop.
Save caarmen/5e6e8699a7087118a4c02fdab7403976 to your computer and use it in GitHub Desktop.
compress 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