We where running RHEL 5.5 and many of the new resize / background features where not available in image Magick 6.2. So we needed to upgraded.
convert -version
wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-devel-6.7.4-7.x86_64.rpm
wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-6.7.4-7.x86_64.rpm
sudo yum install ImageMagick-devel-6.7.4-7.x86_64.rpm ImageMagick-6.7.4-7.x86_64.rpm
convert -version
That is all there is to it.
Then exclude ImageMagick from being updated
http://www.cyberciti.biz/faq/redhat-centos-linux-yum-update-exclude-packages/
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
exclude=ImageMagick* <--important line to add
References
Learned about yum installing rpm’s from here
https://github.com/Snorby/snorby/wiki/CentOS-5.5-64bit-by-RISC427