Last active
January 6, 2018 00:56
-
-
Save blairanderson/ae794b5d406ed06e612c01fb5bd9789d to your computer and use it in GitHub Desktop.
converting PDF to a png
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
// for single item | |
convert -density 150 -antialias "input_file_name.pdf" -append -resize 1024x -quality 100 "output_file_name.png" | |
// for bulk | |
mogrify -format png -alpha off -density 150 -quality 100 -resize 1024 *.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment