任何帮助或提示将不胜感激。FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g350x350 -dEPSCrop "-sOutputFile=C:/Windows/TEMP/magick-1520z9_ZtBD3O2dg%d" "-fC:/Windows/TEMP/magick-15203XcyD8hja0LJ" "-fC:/Windows/TEMP/magick-1520fnhOiV0JVLNJ"' (Le fichier spécifié est introuvable.) @ error/delegate.c/ExternalDelegateCommand/475.convert:
编辑2:
我还发现一个链接,那里的imagemagick管理员建议在delegates.xml中更改gs路径。这个解决方案看起来很有前途,但是delegate文件中有一个eps到ps转换的条目如下:
<delegate decode="eps" encode="ps" mode="bi" command=""@PSDelegate@" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=ps2write "-sOutputFile=%o" -- "%i""/>
我找不到imagemagick如何引用GS位置的方法。我已经将gs添加到路径变量中并/或修改了delegates.xml文件以修复此问题。
编辑3:
我从imagemagick转换命令中得到一个“未定义图像”的错误,如下所示。我需要为gs设置一些权限吗?因为我在Temp目录中找不到临时文件夹。这些在我的本地似乎可以神奇地工作,但在测试服务器上却犹豫不决。
convert: Postscript代理失败[ghostscript库9.22] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2“-sDEVICE = pngalpha” -dTextAlphaBits=4 -dGraphicsAlphaBits=4“-r72x72” -g350x350 -dEPSCrop“-sOutputFile = C:/ Windows / TEMP / magick-110207SjtG6NIBllO%d”“-fC:/ Windows / TEMP / magick-1102057mSI5SPZ919”“-fC:/ Windows / TEMP / magick-11020HeIOX7qThedE” -c showpage:(null)' @ error / ps.c / ReadPSImage / 884.convert:未定义任何图像
D:\ inetpub \ IndependenceAWS \ Conversion_DEV_DCHI \ 78 \ 20190208-121606-797-QSAX2N0OVB \ JPG \ icam_logo_ToJPG.JPG' @ error / convert.c / ConvertImageCommand / 3300
[ghostscript library 9.22]
是什么? - Mark Setchell