imagemagick

Retour

Installation

apt-get install ghostscript
apt-get install imagemagick

gérer le bug sur certains docs

In file /etc/ImageMagick-6/policy.xml (or /etc/ImageMagick/policy.xml)

  1. comment line

  2. change line

to

<policy domain="coder" rights="read|write" pattern="PDF" />
  1. add line

Then restart your web server (nginx, apache).

installation custom

apt-get install libjpeg libjpeg-dev
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar xvfz ImageMagick.tar.gz
cd ImageMagick-*
./configure
make
make install
ldconfig /usr/local/lib
identify -version
make check