Geared towards ubuntu/mint/debian
Abstracted From: @nickferrando - https://gist.github.com/nickferrando/fb0a44d707c8c3efd92dedd0f79d2911
sudo apt install libavif-dev libtiff-dev build-essential libpng-dev libheif-dev libwebp-dev
git clone https://github.com/ImageMagick/ImageMagick.git
cd ImageMagick
git tag
in this example we'll use the latest 7.1.2
git checkout 7.1.2-28
I install to /opt here, because I don't want it to interfere with the default install.
./configure --disable-shared --prefix=/opt/ImageMagick/7.1.2-28
make it, nproc is your processing units, runs make in parallel
make -j$(nproc)
should return
DELEGATES = heic jbig jng jpeg lcms lzma png ps tiff video webp x xml zip zlib zstd
^ ^ ^
| | +- WEBP Support
| +- TIFF Support
+- AVIF Support
install
sudo make install
test
/opt/ImageMagick/7.1.2-28/bin/magick --version
should return
Version: ImageMagick 7.1.2-28 Q16-HDRI x86_64 f55e39808:20260726 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/license/
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): heic jbig jng jpeg lcms lzma png webp x xml zip zlib zstd
Compiler: gcc (13.3)
You can add it to your PATH in your ~/.bashrc
export PATH=/opt/ImageMagick/7.1.2-28/bin:$PATH