Last active
January 26, 2019 01:59
-
-
Save lihaoml/24beae877da4301096c3f8d35ded40c3 to your computer and use it in GitHub Desktop.
gs - pdf to jpg
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 -dNOPAUSE -sDEVICE=jpeg -r144 -sOutputFile=p%03d.jpg file.pdf | |
https://christianheilmann.com/2012/09/30/quick-one-converting-a-multi-page-pdf-to-a-jpg-for-each-page-on-osx/ | |
merge pdf | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf *.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment