error/utility.c/SystemCommand/2094.

使用ImageMagick将wmf转成jpg图片

命令如下:

D:\source\WordClient\Lib\ImageMagick\convert.exe convert "C:\Users\Administrator\AppData\Local\Temp\17906a70-0844-4aaa-8ef8-55629b5430f7\word\media/image2.wmf" "d:\users\administrator\documents\aa结构化工具\media/我国六省水痘—带状疱疹病毒糖蛋白基因特征分析+ (1)_image2_wmf.jpg"

未转成功,报错如下:

convert.exe: unable to open image `convert': No such file or directory @ error/blob.c/OpenBlob/2588.
convert.exe: no decode delegate for this image format `convert' @ error/constitute.c/ReadImage/532.
convert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0
 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1019x1019  "-sOutputFile=C:/Users/ADMI
NI~1/AppData/Local/Temp/magick-YETejn2F--0000001" "-fC:/Users/ADMINI~1/AppData/Local/Temp/magick-wTAeAt_w" "-fC:/Users/ADMINI
~1/AppData/Local/Temp/magick-tiGElZPk" @ error/utility.c/SystemCommand/2094.
convert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0
 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1019x1019  "-sOutputFile=C:/Users/ADMI
NI~1/AppData/Local/Temp/magick-YETejn2F--0000001" "-fC:/Users/ADMINI~1/AppData/Local/Temp/magick-wTAeAt_w" "-fC:/Users/ADMINI
~1/AppData/Local/Temp/magick-tiGElZPk" -c showpage @ error/utility.c/SystemCommand/2094.
convert.exe: Postscript delegate failed `C:/Users/ADMINI~1/AppData/Local/Temp/magick-n0agQJ3f': No such file or directory @ e
rror/ps.c/ReadPSImage/806.
convert.exe: missing an image filename `d:\users\administrator\documents\aa结构化工具\media/我国六省水痘—带状疱疹病毒糖蛋白
基因特征分析+ (1)_image2_wmf.jpg' @ error/convert.c/ConvertImageCommand/3015.

搜索了一下,说没有安装Ghostscript

安装之后,转换成功

参考:http://www.imagemagick.org/discourse-server/viewtopic.php?t=18354

Ghostscript下载页面:https://ghostscript.com/download/gsdnld.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值