Howto | Install ImageMagick

Quick Installation

# apt-get build-dep imagemagick
# apt-get install imagemagick perlmagick html2ps lpr libwmf-bin

See Testing below.

Manual Installation

References

Download

Installing Image Libraries

# apt-get install libjpeg62-dev libpng12-dev libtiff4-dev

Alternatively the following should install everything needed by ImageMagick:

# apt-get build-dep imagemagick

I think its a good idea to remove the apt-get installed version of ImageMagick, if indeed it exists:

# apt-get remove imagemagick

Don’t worry about Ghostscript, if gslib is unavailable it will fall back on the Ghostscript binary.

Installation

$ gunzip -c ImageMagick-6.x.x.tar.gz | tar xvf -
$ cd ImageMagick-6.x.x
$ ./configure --without-x
$ make
$ make install
$ make clean
$ ldconfig /usr/local/lib

To make ldconfig remember this change permanently, simply add /usr/local/lib to /etc/ld.so.conf

Testing

$ cd..
$ convert -version
$ convert logo: logo.gif

Support

Tips

PDF Thumbnails:

# convert "Trident Honda Fax Header.pdf[0]" -thumbnail "200x200" test.gif
comments powered by Disqus