title: Imagemagick Convert PDF to JPEG: FailedToExecuteCommand `"gswin32c.exe" / PDFDelegateFailed
body: <p>I have PDFs that I need to convert to images.  I have installed Imagemagick. I have a PDF named a.pdf that I can open (it is not corrupt) in the folder C:\Convert\ </p>
  
  <p>From the command line I am trying</p>
  
  <pre><code>C:\Convert&gt;convert a.pdf a.jpg
  </code></pre>
  
  <p>And I am getting the error.</p>
  
  <pre><code>convert.exe: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -
  dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEV
  ICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dUseCIEColor
  "-sOutputFile=C:/Users/MNALDO~1.COR/AppData/Local/Temp/magick-3704HYGOqqIK5rhI%d
  " "-fC:/Users//MNALDO~1.COR/AppData/Local/Temp/magick-3704vK6aHo7Ju9WO" "-fC:/Use
  rs//MNALDO~1.COR/AppData/Local/Temp/magick-3704GQSF9kK8WAw6"' (The system cannot
  find the file specified.
  ) @ error/delegate.c/ExternalDelegateCommand/480.
  convert.exe: PDFDelegateFailed `The system cannot find the file specified.
  ' @ error/pdf.c/ReadPDFImage/797.
  convert.exe: no images defined `a.jpg' @ error/convert.c/ConvertImageCommand/323
  0.
  </code></pre>
  
  <p>UPDATE:<br>
  After the SO community helped me solve this issue I put together a little tool to batch convert images. Hope it helps somebody. 
  <a href="https://github.com/MattDolan/ImageConverter" rel="noreferrer">https://github.com/MattDolan/ImageConverter</a></p>