ImageMagick installation confusion
Posted
by
Codemonkey
on Server Fault
See other posts from Server Fault
or by Codemonkey
Published on 2014-05-28T21:18:35Z
Indexed on
2014/05/28
21:31 UTC
Read the original article
Hit count: 180
centos
|imagemagick
Well this is turning out to be a pain. I'm on CentOS 6.5.
I saw on the PECL ImageMagick changelog that they added a load of constants for new filters, such as LANCZOS2SHARP. Some testing I did earlier suggested that PhotoShop 6.5 was able to downsize photos with better clarity than my current ImageMagick's best effort of LANCZOS, so I thought I'd try to upgrade to test out the newer filters.
So, first port of call - get source from pecl for 3.2.0RC1. Installed with no problems. But, ah-ha. Although it says it only requires IM 6.2.4, the filters I'm after don't work unless you have 6.6.6+
So I go http://www.imagemagick.org/script/install-source.php to install the newest version.
This is the bit that's puzzled me. It all appears to have installed fined. The tests work fine, passing 40 out of 40. If I run identify -version
on the command line it outputs 6.8.9
But if I echo Imagick::getVersion()
in PHP it shows 6.5.4, even after restarting php-fpm.
rpm -qa | grep ImageMagick
shows that I still have 6.5.4 installed
locate ImageMagic
also only seems to show the 6.5.4 one
I feel that the missing link here is ImageMagick-devel, do I need to install that too? How do I go about doing that?
Or do I just need to reinstall the pecl-imagemagick 3.2.0RC1 now that I have the latest IM installed?
© Server Fault or respective owner