Last active
August 29, 2015 14:10
-
-
Save sirioz/63cdce1c8a34aaaa70b9 to your computer and use it in GitHub Desktop.
Optimize a PDF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gs -sDEVICE=pdfwrite -dBATCH -dNOPAUSE -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf | |
(To install ghostscript on OSX: sudo brew update && sudo brew install ghostscript && sudo brew link --overwrite freetype ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment