Created
March 5, 2019 10:44
-
-
Save deepakpk009/6cb28cceee0427c02ecd8777c85edce9 to your computer and use it in GitHub Desktop.
reduce pdf size / compress pdf in ubuntu
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
execute below commnad in terminal: | |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf | |
/screen - Lowest quality, lowest size | |
/ebook - Moderate quality | |
/printer - Good quality | |
/prepress - Best quality, highest size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment