Created
August 4, 2021 09:03
-
-
Save benfavre/3545ff1ebbf8daf3f3ef19d388df5b00 to your computer and use it in GitHub Desktop.
Compress a PDF command line linux
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 -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile=out.compressed.pdf in.pdf; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment