Configuring Imagemagick with lcms2
CENTOS 7.5 , Easy Apache 4 php 7.1
I have Imagemagick running fine. However it is missing the lcms2 library that lets it utilise icc color profiles.
The default rpm does not seem to include it. I have installed lcms via rpm install and attempted imagemagick reinstall hoping magically it would get processed or built with the library if available. No luck
How can I add lcms delegate/library to my current imagemagick install?
-
SOLVED: I just downloaded ImageMagick 7 rpms via cmd line wget, installed with yum, and then reinstalled the PECL Imagemagick extension wrapper and restarted php-fpm. PDF to jpg with php now works with 99% color accuracy. 0 -
Just so you know the version of ImageMagick available via the standard repos is still an outdated version, or at least it was for me on CentOS 7 the last time I checked. However you can obtain the latest version via YUM by using the Remi Repository. The repository is usually updated within a few days after a new release of ImageMagick. More information available here: blog.remirepo.net/pages/Config-en 0 -
Hello, I've marked this thread as solved. Thanks! 0 -
FYI I found alanski's description of the steps impossible to follow because of my inexperience with PECL modules, so went through the same learning curve to arrive at the same conclusion. Hopefully it will help others to find a more complete set of instructions: and click 'reinstall' for the imagick PECL. -- restart httpd with: # /scripts/restartsrv_apache_php_fpm # /scripts/restartsrv_httpd 0
Please sign in to leave a comment.
Comments
4 comments