# Requires having ghostscript(download at www.ghostscript.com)
# Using ghostscript + imagemagick
convert -density 150 presentation.pdf -quality 90 output-%3d.jpg
# Using ghostscript alone (faster and more efficient)
gswin64c.exe -dNOPAUSE -sDEVICE=jpeg -r200 -dJPEGQ=60 -sOutputFile=foo-%03d.jpg foo.pdf -dBATCH
convert -density 150 presentation.pdf -quality 90 output.jpg