Created
June 2, 2017 19:51
-
-
Save ardinusawan/1d1d496bfa72170422f3ebf38be7328e to your computer and use it in GitHub Desktop.
Converting pdf to png using python
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 pdfile in *.pdf ; do | |
convert -verbose -density 500 "${pdfile}" -quality 100 "${pdfile%.*}".png | |
# rm "${pdfile}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment