![Imagemagick 版本不一致。如何修复?](https://linux22.com/image/1143995/Imagemagick%20%E7%89%88%E6%9C%AC%E4%B8%8D%E4%B8%80%E8%87%B4%E3%80%82%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%EF%BC%9F.png)
看来我成功安装了最新的 imagemagick,但查询版本时却出现了差异。identify -version 显示旧版本,并以identify
旧版本运行它。convert
但是运行会调用较新的 imagemagick。
似乎存在默认路径问题,我很好奇如何在不破坏其他内容的情况下修复此问题:D
leo@thegrid:/usr$ /usr/local/bin/identify -version
Version: ImageMagick 7.0.4-0 Q16 x86_64 2016-12-28 http://www.imagemagick.org
Copyright: Copyright 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): gvc jpeg x xml zlib
但获取版本却出现以下情况:
leo@thegrid:/usr$ identify -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-29 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
但是,运行“转换”似乎确实会出现正确的版本:
leo@thegrid:/usr$ convert
Version: ImageMagick 7.0.4-0 Q16 x86_64 2016-12-28 http://www.imagemagick.org
Copyright: Copyright 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
是什么赋予了?