Imagemagick Converta PDF para JPEG: FailedToExecuteCommand `“ gswin32c.exe ”/ PDFDelegateFailed

Tenho PDFs que preciso converter em imagens. Eu instalei o Imagemagick. Eu tenho um PDF chamado a.pdf que posso abrir (não está corrompido) na pasta C: \ Convert \

Na linha de comando que estou tentando

C:\Convert>convert a.pdf a.jpg

Eu estou recebendo o erro.

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.

ATUALIZAR
Depois que a comunidade SO me ajudou a resolver esse problema, montei uma pequena ferramenta para converter imagens em lote. Espero que ajude alguém.https: //github.com/MattDolan/ImageConverte

questionAnswers(3)

yourAnswerToTheQuestion