Optional prefixes: [g]oogle, [m]ap  
[w]ikipedia, [snopes]  

home » howto » install imagemagick

Install ImageMagick

Table of Contents

Quick Installation

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

See Testing below.


top

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"



top

Testing

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


top

Support


top

Tips

PDF Thumbnails

# convert "Trident Honda Fax Header.pdf[0]" -thumbnail "200x200" test.gif
Share

top