Last active
March 1, 2023 14:32
-
-
Save vernak2539/9a8d8bd9120841d73c9b74fe5896e9f7 to your computer and use it in GitHub Desktop.
Command-line PDF manipulation
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 \ | |
-sOutputFile=output.pdf \ | |
-sDEVICE=pdfwrite \ | |
-sColorConversionStrategy=Gray \ | |
-dProcessColorModel=/DeviceGray \ | |
-dCompatibilityLevel=1.4 \ | |
-dNOPAUSE \ | |
-dBATCH \ | |
input.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment