Add imagemagick patch
This commit is contained in:
parent
60e3611c73
commit
c618f84387
1 changed files with 22 additions and 0 deletions
22
install/5.0/setup-imagemagick-7.sh
Normal file
22
install/5.0/setup-imagemagick-7.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
apt remove imagemagick
|
||||
|
||||
git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick
|
||||
cd ImageMagick
|
||||
git checkout $(git tag -l | grep -E '^7' | sort -V | tail -n 1)
|
||||
|
||||
apt update
|
||||
apt install -y \
|
||||
libjpeg-dev libpng-dev libpng16-16 libltdl-dev libheif-dev libraw-dev libtiff-dev libopenjp2-tools \
|
||||
libopenjp2-7-dev libjpeg-turbo-progs libfreetype6-dev libheif-dev libfreetype6-dev libopenexr-dev \
|
||||
libwebp-dev libgif-dev
|
||||
|
||||
./configure --with-modules --enable-file-type --with-quantum-depth=32 --with-jpeg=yes --with-png=yes \
|
||||
--with-gif=yes --with-webp=yes --with-heic=yes --with-raw=yes --with-tiff=yes --with-openjp2 \
|
||||
--with-freetype=yes --with-webp=yes --with-openexr=yes --with-gslib=yes --with-gif=yes --with-perl=yes \
|
||||
--with-jxl=yes
|
||||
|
||||
make
|
||||
make install
|
||||
ldconfig /usr/local/lib
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue