Mes Post-Its


imagemagick

Installation

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

<!-- <policy domain="coder" rights="none" pattern="MVG" /> -->

2) change line

<policy domain="coder" rights="none" pattern="PDF" />

to

<policy domain="coder" rights="read|write" pattern="PDF" />

3) add line

<policy domain="coder" rights="read|write" pattern="LABEL" />

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