ImageMagick and JMagick on Linux

INSTALL IMAGEMAGICK
Download libwmf-0.2.8.4-1.i386.rpm
rpm -ivh libwmf-0.2.8.4-1.i386.rpm
Download ImageMagick-6.2.4-6.i386.rpm
rpm -ivh ImageMagick-6.2.4-6.i386.rpm

INSTALL IMAGEMAGICK-DEVEL
yum install ghost-script-devel
Download ImageMagick-devel-6.2.4-6.i386.rpm
rpm -ivh ImageMagick-devel-6.2.4-6.i386.rpm

INSTALL JMAGICK
yum install libtiff-devel
yum install libjpeg-devel
Download JMagick-6.2.4-0.tar.gz
tar xvfz JMagick-6.2.4-0.tar.gz
cd JMagick-6.2.4-0
./configure (or. ./configure –with-java-home=/usr/lib/jvm/java-1.5.0-sun-1.5.0.03)
make all
make test
make javadoc
vi Make.def
Find INSTALL and change the value to /root/JMagick-6.2.4-0/install-sh
make install

To use JMagick, libJMagick.so must be in a directory where the runtime loader can find it or you must set the environment variable LD_LIBRARY_PATH. jmagick.jar must be in your Java class path.