Created
March 5, 2016 03:38
-
-
Save erronjason/036fb36feb93dfc90d73 to your computer and use it in GitHub Desktop.
Converts pdfs to jpgs - You're gonna need convert (imagemagick) and ghostscript for windows
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
:: You're gonna need convert (imagemagick) and ghostscript for windows | |
:: Assumes pdfs are in a folder below this script called pdfs\ and will throw jpgs into jpgs\ | |
for %%f in (pdfs\*.pdf) do ( | |
convert %%f jpgs\%%~nf.jpg | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment