Convert pdf to jpg (or other format) fail in Windows 10

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
tes
Posts: 2
Joined: 2015-11-25T08:32:44-07:00
Authentication code: 1151

Convert pdf to jpg (or other format) fail in Windows 10

Post by tes »

Hi.
Using 'convert' line command in Windows 10 OS

convert logo.pdf logo.jpg

fail!

*------------------------------------------------------------------------------------------------------------------------------------------------
c:\imagemagick>convert logo.pdf logo.gif
convert.exe: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/Users/Pc/AppData/Local/Temp/magick-14196KxjSaNpQNYxQ%d" "-fC:/Users/Pc/AppData/Local/Temp/magick-141963h9eyatYgQCM" "-fC:/Users/Pc/AppData/Local/Temp/magick-14196iTR1oQwqhsrg"' (Impossibile trovare il file specificato.
) @ error/delegate.c/ExternalDelegateCommand/480.
convert.exe: PDFDelegateFailed `Impossibile trovare il file specificato.
' @ error/pdf.c/ReadPDFImage/797.
convert.exe: NoImagesDefined `logo.gif' @ error/convert.c/ConvertImageCommand/3241.
*---------------------------------------------------------------------------------------------------------------------------------------------------

My Version is :

*--------------------------------------------------------------------------------------------------------------------------------------------------
c:\imagemagick>convert -version
Version: ImageMagick 6.9.2-6 Q16 x64 2015-11-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC
Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
*-------------------------------------------------------------------------------------------------------------------------------------------------
Why ????
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert pdf to jpg (or other format) fail in Windows 10

Post by fmw42 »

It does not appear from you list of delegates that you have ghostscript installed (gs or gslib should be in the list). Can you verify that you have installed ghostscript and that IM knows where it is.
tes
Posts: 2
Joined: 2015-11-25T08:32:44-07:00
Authentication code: 1151

Re: Convert pdf to jpg (or other format) fail in Windows 10

Post by tes »

Ok thank you: now work fine !

:D
Post Reply