ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
ImageMagick can be installed from a repository or from the source code. This installation guide describe only the first option - installing from a repository. This is usually the easy option.
Firstly, you should install the EPEL repository, if you haven't done that already.
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo rpm -Uvh epel-release-latest-7.noarch.rpm
Secondly, install Remi's repository.
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm sudo rpm -Uvh remi-release-7.rpm
By default, Remi's repository is disabled. So, to use it in our next commands, we'll make use of the --enablerepo argument to enable the repository.
Next, let's install ImageMagick's dependencies. Note that this may take a while.
sudo yum install -y gcc php-devel php-pear
And now, we're going to install ImageMagick from Remi's repository.
sudo yum install --enablerepo=remi -y ImageMagick ImageMagick-devel
Finally, you can type the following to find out if ImageMagick has been installed:
If you see something like this, then you're set!
Version: ImageMagick 6.7.8-9 2014-06-10 Q16 <a href="http://www.imagemagick.org">http://www.imagemagick.org</a> Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP