ImageMagick Installation with PNGlib and JPEGlib

Unpack the distribution with this command:

tar xvfz ImageMagick.tar.gz

Next configure and compile ImageMagick:

cd ImageMagick-6.7.4

With every installtion there is a read me file like install-unix.txt , from there you will find the options to add additional libraries like png and jpeg , so you need to make change in configure command with those options.

./configure --with-jpeg=yes --with-png=yes --with-tiff=yes --with-freetype=yes  --with-fontconfig=yes --with-modules=yes --enable-shared=yes


If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type

sudo make install

You may need to configure the dynamic linker run-time bindings:

sudo ldconfig /usr/local/lib

Finally, verify the ImageMagick install worked properly, type

/usr/local/bin/convert logo: logo.gif     


Popular posts from this blog

Interview Question on Ruby on Rails

Inserting and Moving elements inside Ruby Array