Extract pdf pages as images using ghostscript

August 22, 2017

gs -q -dBATCH -dNOPAUSE -sDEVICE=jpeg -dFirstPage=1 -dLastPage=10 
-sOutputFile=<filename>%d.jpg -r300 <filename>.pdf

Reference:

• https://www.ghostscript.com/doc/current/Use.htm