Created
June 1, 2020 17:22
-
-
Save nickferrando/f3a90f87d02deedc5249ba086ce358bb to your computer and use it in GitHub Desktop.
PDF Optimizer with Ghostscript
This file contains 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 \ | |
-o OUTPUT.pdf \ | |
-sDEVICE=pdfwrite \ | |
-dDownsampleColorImages=true \ | |
-dDownsampleGrayImages=true \ | |
-dDownsampleMonoImages=true \ | |
-dColorImageResolution=72 \ | |
-dGrayImageResolution=72 \ | |
-dMonoImageResolution=72 \ | |
-dColorImageDownsampleThreshold=1.0 \ | |
-dGrayImageDownsampleThreshold=1.0 \ | |
-dMonoImageDownsampleThreshold=1.0 \ | |
YOUR_INPUT_PDF_FILE.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment