1

我为 Mac OS X 安装了 ImageMagick,并按照说明中的说明设置了路径。

export MAGICK_HOME="$HOME/Desktop/code/ImageMagick-6.8.9"
export PATH="$MAGICK_HOME/bin:$PATH"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"

当回显它显示的 PATH 时

ishivendra:code shivendraagrawal$ echo $PATH
/Users/shivendraagrawal/Desktop/code/ImageMagick-6.8.9/bin:/opt/local/bin:/opt/local/sbin:/Users/shivendraagrawal/anaconda/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

但是使用命令导致了这个

ishivendra:code shivendraagrawal$ convert 3.jpg -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 5.jpg
-bash: convert: command not found

我在这里错在哪里?

4

0 回答 0