The other day I got ImageMagick to work in my Drupal environment, but only after hours of trial and error.
I thought I would share my experience in order to help others who might face similar problems.
I am running Drupal 6.19 on a UNIX (FreeBSD 8.1) VPS with root access via SSH. My PHP Version is 5.3.2.
My reasons for using ImageMagick:
1. I want to use the Image Gallery module for a JPEG photo album.
2. I cannot enable the module ImageAPI GD2 because "PHP GD was not compiled with jpeg support. (Currently using GD Jpeg Support Not installed)”. I was not comfortable with recompiling PHP, so I thought I'd try ImageMagick instead.
My Steps
1) Downloaded the ImageMagick tarball (version 6.6.6-5) from ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz and extracted it to /root/ImageMagick-6.6.6-5.
2) Followed the install steps in http://imagemagick.org/script/install-source.php#unix, i.e.:
$ cd ImageMagick-6.6.6-5
$ ./configure
$ make
$ make install
$ /usr/local/bin/convert logo: logo.gif
$ make check
I proceeded through all the install steps successfully, but when I went back to Drupal, I found that the ImageMagick convert process did not work for either JPG or PNG files.