Skip to content

Instantly share code, notes, and snippets.

@davidonet
Created August 31, 2012 13:03
Show Gist options
  • Save davidonet/3552420 to your computer and use it in GitHub Desktop.
Save davidonet/3552420 to your computer and use it in GitHub Desktop.
reduce PDF file size from command line
#from http://www.ubuntugeek.com/ubuntu-tiphowto-reduce-adobe-acrobat-file-size-from-command-line.html
$ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -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