繁体   English   中英

为什么文档中的这个简单的imageMagick命令不起作用?

[英]Why doesn't this simple imageMagick command from the docs work?

C:\Program Files\ImageMagick-6.8.0-Q16>convert dragon.gif'[64x64]' read_dragon.gif
convert.exe: unable to open image `dragon.gif'[64x64]'': No such file or directo
ry @ error/blob.c/OpenBlob/2638.
convert.exe: unable to open module file `C:\Program Files\ImageMagick-6.8.0-Q16\
modules\coders\IM_MOD_RL_GIF'[64X64]'_.dll': No such file or directory @ warning
/module.c/GetMagickModulePath/683.
convert.exe: no decode delegate for this image format `dragon.gif'[64x64]'' @ er
ror/constitute.c/ReadImage/550.
convert.exe: no images defined `read_dragon.gif' @ error/convert.c/ConvertImageC
ommand/3078.

但是,以下方法可以正常工作:

convert dragon.gif dragon.png

在常规的Unix shell中,单引号会被shell解析掉。 我不确定Windows Shell是否会这样做。 这样行吗?

convert dragon.gif[64x64] read_dragon.gif

或这个?

convert "dragon.gif[64x64]" read_dragon.gif

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM