Last active
November 9, 2017 18:23
-
-
Save myles/3656ebcb3026b455d1b3be52d5bd3a58 to your computer and use it in GitHub Desktop.
Convert a bunch of PowerPoint files to PNG files.
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 pptx in *.pptx; | |
do | |
libreoffice --headless --convert-to pdf $pptx | |
convert -density 400 `basename $pptx`.pdf -resize 2000x1500 `basename $pptx`%d.jpg | |
rm `basename $pptx`.pdf | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment