-
-
Save tuananhzippy/41b5a0dcb7b30529e6321fb453cec80f to your computer and use it in GitHub Desktop.
Install ImageMagick on Ubuntu 18.04 with HEIF / HEIC support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get install build-essential autoconf libtool git-core | |
sudo apt-get build-dep imagemagick libmagickcore-dev libde265 libheif | |
cd /usr/src/ | |
sudo git clone https://github.com/strukturag/libde265.git | |
sudo git clone https://github.com/strukturag/libheif.git | |
cd libde265/ | |
sudo ./autogen.sh | |
sudo ./configure | |
sudo make | |
sudo make install | |
cd /usr/src/libheif/ | |
sudo ./autogen.sh | |
sudo ./configure | |
sudo make | |
sudo make install | |
cd /usr/src/ | |
sudo wget https://www.imagemagick.org/download/ImageMagick.tar.gz | |
sudo tar xf ImageMagick.tar.gz | |
cd ImageMagick-7* | |
sudo ./configure --with-heic=yes | |
sudo make | |
sudo make install | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment