我有我需要轉換爲圖像的PDF。我已經安裝了Imagemagick。我有一個PDF名爲a.pdf我可以在文件夾C打開(這是不是腐敗):\轉換\Imagemagick將PDF轉換爲JPEG:FailedToExecuteCommand`「gswin32c.exe」/ PDFDelegateFailed
在命令行中我試圖
C:\Convert>convert a.pdf a.jpg
而且我得到的錯誤。
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.
您需要安裝Ghostscript的柵格化矢量文件(如PDF,EPS,PS等)與Imagemagick。 – Crontab
imagemagick convert命令是否正在尋找要安裝的映像文件,還是用於執行此轉換的備用軟件? – MatthewD
兩者。 Imagemagick需要它來處理矢量文件光柵化,但它基本上只能用於Ghostscript才能完成。事實上,整個Ghostscript命令行都列在你的問題中(從「gswin32c.exe」開始,到「(系統不能」)結束。) – Crontab