How do I execute ImageMagick\'s convert
if I want a JPEG from the first page only of a multi-page PDF?
To further the answer by @KenS, Here are a more few details, particularly for Windows users.
You can download GhostScript for Windows here: http://www.ghostscript.com/download/gsdnld.html. The default installation path for the executable is "C:\Program Files\gs\gs910\bin\gswin64c.exe".
The command-line arguments listed above are correct in Windows too, but here are a few more that I found useful:
gswin64c.exe -dNOPAUSE -dBATCH -r96 -sDEVICE=jpeg -sOutputFile=""
-dFirstPage=1 -dLastPage=1 ""
I also created a batch file that wraps this up nicely and posted it to my GitHub account. It makes it a lot easier to create thumbnails for multiple .pdf files too. Check it out at pdf2jpg.bat.