Created
June 10, 2025 20:56
-
-
Save Crydust/b8e60108610697f5ed082a4fa05cab88 to your computer and use it in GitHub Desktop.
Compress pdf with gostscript on linux command line
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
#!/bin/sh | |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf inpu.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment