Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save haseeb2k9/18377d3d39fa32003def6f7b4e9bf10f to your computer and use it in GitHub Desktop.
Save haseeb2k9/18377d3d39fa32003def6f7b4e9bf10f to your computer and use it in GitHub Desktop.

Revisions

  1. @hurricup hurricup revised this gist Feb 13, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@ sudo apt remove imagemagick -y
    # install base dependencies
    sudo apt-get install -y \
    build-essential \
    git \
    libde265-dev \
    libdjvulibre-dev \
    libfftw3-dev \
  2. @hurricup hurricup revised this gist Dec 13, 2022. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-53 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-54 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -85,7 +85,7 @@ cd ImageMagick
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-53 is configured as follows. Please verify that this
    # ImageMagick 7.1.0-54 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    @@ -168,7 +168,7 @@ cd ImageMagick
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-53
    # VERSION = 7.1.0-54
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    @@ -181,15 +181,15 @@ cd ImageMagick
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd
    # ==============================================================================

    #
    make -j 8
    sudo make install
    sudo ldconfig /usr/local/lib

    # check
    identify --version

    # Version: ImageMagick 7.1.0-53 Q16-HDRI x86_64 c91ce2143:20221204 https://imagemagick.org
    # Version: ImageMagick 7.1.0-54 Q16-HDRI x86_64 ee2f46b29:20221210 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
  3. @hurricup hurricup revised this gist Dec 5, 2022. 1 changed file with 57 additions and 54 deletions.
    111 changes: 57 additions & 54 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-52 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-53 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -46,48 +46,51 @@ cd ImageMagick
    # --with-ltdl=no \ # ?

    ./configure \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-fftw=yes \
    --with-flif=yes \
    --with-fontconfig=yes \
    --with-freetype=yes \
    --with-gslib=yes \
    --with-gvc=yes \
    --with-heic=yes \
    --with-jbig=yes \
    --with-jemalloc=yes \
    --with-jpeg=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    --with-lzma=yes \
    --with-magick-plus-plus=yes \
    --with-openexr=yes \
    --with-openjp2=yes \
    --with-pango=yes \
    --with-perl=yes \
    --with-png=yes \
    --with-raqm=yes \
    --with-raw=yes \
    --with-rsvg=yes \
    --with-tcmalloc=yes \
    --with-tiff=yes \
    --with-webp=yes \
    --with-wmf=yes \
    --with-x=yes \
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-dps=yes \
    --with-fftw=yes \
    --with-flif=yes \
    --with-fontconfig=yes \
    --with-fpx=yes \
    --with-freetype=yes \
    --with-gslib=yes \
    --with-gvc=yes \
    --with-heic=yes \
    --with-jbig=yes \
    --with-jemalloc=yes \
    --with-jpeg=yes \
    --with-jxl=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    --with-lzma=yes \
    --with-magick-plus-plus=yes \
    --with-openexr=yes \
    --with-openjp2=yes \
    --with-pango=yes \
    --with-perl=yes \
    --with-png=yes \
    --with-raqm=yes \
    --with-raw=yes \
    --with-rsvg=yes \
    --with-tcmalloc=yes \
    --with-tiff=yes \
    --with-webp=yes \
    --with-wmf=yes \
    --with-x=yes \
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes \
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-52 is configured as follows. Please verify that this
    # ImageMagick 7.1.0-53 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    @@ -98,14 +101,14 @@ cd ImageMagick
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    #
    #
    # Install documentation: yes
    #
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=yes yes
    # TCMalloc --with-tcmalloc=yes yes
    # UMem --with-umem=no no
    #
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    @@ -121,7 +124,7 @@ cd ImageMagick
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # JPEG XL --with-jxl=yes no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    @@ -143,35 +146,35 @@ cd ImageMagick
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/ghostscript/fonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-52
    # VERSION = 7.1.0-53
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    @@ -186,7 +189,7 @@ sudo ldconfig /usr/local/lib
    # check
    identify --version

    # Version: ImageMagick 7.1.0-52 Q16-HDRI x86_64 36d3408b5:20221106 https://imagemagick.org
    # Version: ImageMagick 7.1.0-53 Q16-HDRI x86_64 c91ce2143:20221204 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
  4. @hurricup hurricup revised this gist Nov 10, 2022. 1 changed file with 24 additions and 24 deletions.
    48 changes: 24 additions & 24 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-51 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-52 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -43,7 +43,7 @@ cd ImageMagick
    # --with-flif=yes \ # ?
    # --with-fpx=yes \ # ?
    # --with-jxl=yes \ # requires libjxl from the github
    # --with-ltdl=no \ # ?
    # --with-ltdl=no \ # ?

    ./configure \
    --with-bzlib=yes \
    @@ -79,15 +79,15 @@ cd ImageMagick
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes \
    --with-gcc-arch=native
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-51 is configured as follows. Please verify that this
    # ImageMagick 7.1.0-52 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    @@ -98,14 +98,14 @@ cd ImageMagick
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    #
    #
    # Install documentation: yes
    #
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=yes yes
    # TCMalloc --with-tcmalloc=yes yes
    # UMem --with-umem=no no
    #
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    @@ -143,40 +143,40 @@ cd ImageMagick
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/ghostscript/fonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-51
    # VERSION = 7.1.0-52
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff webp wmf x xml zip zlib zstd
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd
    # ==============================================================================

    make -j 8
    @@ -186,7 +186,7 @@ sudo ldconfig /usr/local/lib
    # check
    identify --version

    # Version: ImageMagick 7.1.0-51 Q16-HDRI x86_64 1cf41df5d:20221013 https://imagemagick.org
    # Version: ImageMagick 7.1.0-52 Q16-HDRI x86_64 36d3408b5:20221106 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
  5. @hurricup hurricup revised this gist Oct 18, 2022. 1 changed file with 8 additions and 7 deletions.
    15 changes: 8 additions & 7 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-48 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-51 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -82,7 +82,7 @@ cd ImageMagick
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-48 is configured as follows. Please verify that this
    # ImageMagick 7.1.0-51 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    @@ -152,7 +152,7 @@ cd ImageMagick
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/ghostscript/fonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    @@ -165,18 +165,18 @@ cd ImageMagick
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-48
    # VERSION = 7.1.0-51
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff webp wmf x xml zip zlib zstd
    # ==============================================================================

    make -j 8
    @@ -186,8 +186,9 @@ sudo ldconfig /usr/local/lib
    # check
    identify --version

    # Version: ImageMagick 7.1.0-48 Q16-HDRI x86_64 c1ca24765:20220910 https://imagemagick.org
    # Version: ImageMagick 7.1.0-51 Q16-HDRI x86_64 1cf41df5d:20221013 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
    # Compiler: gcc (9.4)
  6. @hurricup hurricup revised this gist Oct 12, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -21,12 +21,15 @@ sudo apt-get install -y \
    liblqr-1-0-dev \
    liblzma-dev \
    libopenexr-dev \
    libopenjp2-7-dev \
    libpango1.0-dev \
    libraqm-dev \
    libraw-dev \
    librsvg2-dev \
    libtiff-dev \
    libwebp-dev \
    libwmf-dev \
    libxml2-dev \
    libzip-dev \
    libzstd-dev

  7. @hurricup hurricup revised this gist Sep 12, 2022. 1 changed file with 12 additions and 13 deletions.
    25 changes: 12 additions & 13 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -109,7 +109,7 @@ cd ImageMagick
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=no no
    # FLIF --with-flif=yes no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    @@ -147,28 +147,28 @@ cd ImageMagick
    # Ghostscript None gs (9.50)
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-48
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    @@ -184,8 +184,7 @@ sudo ldconfig /usr/local/lib
    identify --version

    # Version: ImageMagick 7.1.0-48 Q16-HDRI x86_64 c1ca24765:20220910 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
    # Compiler: gcc (11.1)
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
  8. @hurricup hurricup revised this gist Sep 12, 2022. 1 changed file with 66 additions and 67 deletions.
    133 changes: 66 additions & 67 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-47 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-48 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -79,79 +79,79 @@ cd ImageMagick
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-47 is configured as follows. Please verify that this
    # ImageMagick 7.1.0-48 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    # Static libraries --enable-static=yes yes
    # Build utilities --with-utilities=yes yes
    # Module support --with-modules=no no
    # GNU ld --with-gnu-ld=yes yes
    # Quantum depth --with-quantum-depth=16 16
    # Shared libraries --enable-shared=yes yes
    # Static libraries --enable-static=yes yes
    # Build utilities --with-utilities=yes yes
    # Module support --with-modules=no no
    # GNU ld --with-gnu-ld=yes yes
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    # --enable-hdri=yes yes
    #
    # Install documentation: yes
    # Install documentation: yes
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=yes yes
    # TCMalloc --with-tcmalloc=yes yes
    # UMem --with-umem=no no
    # JEMalloc --with-jemalloc=yes yes
    # TCMalloc --with-tcmalloc=yes yes
    # UMem --with-umem=no no
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=yes no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    # Ghostscript lib --with-gslib=yes yes
    # Graphviz --with-gvc=yes yes
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    # LZMA --with-lzma=yes yes
    # Magick++ --with-magick-plus-plus=yes yes
    # OpenEXR --with-openexr=yes yes
    # OpenJP2 --with-openjp2=yes no
    # PANGO --with-pango=yes yes
    # PERL --with-perl=yes /usr/bin/perl
    # PNG --with-png=yes yes
    # RAQM --with-raqm=yes yes
    # RAW --with-raw=yes yes
    # RSVG --with-rsvg=yes no
    # TIFF --with-tiff=yes yes
    # WEBP --with-webp=yes yes
    # WMF --with-wmf=yes yes
    # X11 --with-x=yes yes
    # XML --with-xml=yes no
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=no no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    # Ghostscript lib --with-gslib=yes yes
    # Graphviz --with-gvc=yes yes
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    # LZMA --with-lzma=yes yes
    # Magick++ --with-magick-plus-plus=yes yes
    # OpenEXR --with-openexr=yes yes
    # OpenJP2 --with-openjp2=yes yes
    # PANGO --with-pango=yes yes
    # PERL --with-perl=yes /usr/bin/perl
    # PNG --with-png=yes yes
    # RAQM --with-raqm=yes yes
    # RAW --with-raw=yes yes
    # RSVG --with-rsvg=yes yes
    # TIFF --with-tiff=yes yes
    # WEBP --with-webp=yes yes
    # WMF --with-wmf=yes yes
    # X11 --with-x=yes yes
    # XML --with-xml=yes yes
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    # X11 configuration:
    # X_CFLAGS =
    @@ -162,18 +162,18 @@ cd ImageMagick
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-47
    # VERSION = 7.1.0-48
    # CC = gcc
    # CFLAGS = -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr pango png ps raqm raw tiff webp wmf x zip zlib zstd
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd
    # ==============================================================================

    make -j 8
    @@ -183,10 +183,9 @@ sudo ldconfig /usr/local/lib
    # check
    identify --version

    # Version: ImageMagick 7.1.0-47 Q16-HDRI x86_64 d91623c12:20220827 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jpeg lcms lqr lzma openexr pangocairo png ps raqm raw tiff webp wmf x zip zlib
    # Compiler: gcc (9.4)

    # Version: ImageMagick 7.1.0-48 Q16-HDRI x86_64 c1ca24765:20220910 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
    # Compiler: gcc (11.1)
  9. @hurricup hurricup revised this gist Aug 28, 2022. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -43,10 +43,10 @@ cd ImageMagick
    # --with-ltdl=no \ # ?

    ./configure \
    --with-gcc-arch=native \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-fftw=yes \
    --with-flif=yes \
    --with-fontconfig=yes \
    --with-freetype=yes \
    --with-gslib=yes \
    @@ -75,7 +75,8 @@ cd ImageMagick
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes
    --with-zstd=yes \
    --with-gcc-arch=native

    # ==============================================================================
    # ImageMagick 7.1.0-47 is configured as follows. Please verify that this
    @@ -108,7 +109,7 @@ cd ImageMagick
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=no no
    # FLIF --with-flif=yes no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    @@ -185,8 +186,7 @@ identify --version
    # Version: ImageMagick 7.1.0-47 Q16-HDRI x86_64 d91623c12:20220827 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
    # Compiler: gcc (11.1)

    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jpeg lcms lqr lzma openexr pangocairo png ps raqm raw tiff webp wmf x zip zlib
    # Compiler: gcc (9.4)

  10. @hurricup hurricup revised this gist Aug 28, 2022. 1 changed file with 97 additions and 97 deletions.
    194 changes: 97 additions & 97 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -77,103 +77,103 @@ cd ImageMagick
    --with-zlib=yes \
    --with-zstd=yes

    # ==============================================================================
    # ImageMagick 7.1.0-10 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    # Static libraries --enable-static=yes yes
    # Build utilities --with-utilities=yes yes
    # Module support --with-modules=no no
    # GNU ld --with-gnu-ld=yes yes
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    #
    # Install documentation: yes
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=no no
    # TCMalloc --with-tcmalloc=no no
    # UMem --with-umem=no no
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=yes no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    # Ghostscript lib --with-gslib=yes yes
    # Graphviz --with-gvc=yes yes
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    # LZMA --with-lzma=yes yes
    # Magick++ --with-magick-plus-plus=yes yes
    # OpenEXR --with-openexr=yes yes
    # OpenJP2 --with-openjp2=yes yes
    # PANGO --with-pango=yes yes
    # PERL --with-perl=yes /usr/bin/perl
    # PNG --with-png=yes yes
    # RAQM --with-raqm=yes yes
    # RAW --with-raw=yes yes
    # RSVG --with-rsvg=yes yes
    # TIFF --with-tiff=yes yes
    # WEBP --with-webp=yes yes
    # WMF --with-wmf=yes yes
    # X11 --with-x=yes yes
    # XML --with-xml=yes yes
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-10
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -lpthread
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd

    # ==============================================================================
    # ImageMagick 7.1.0-47 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    # Static libraries --enable-static=yes yes
    # Build utilities --with-utilities=yes yes
    # Module support --with-modules=no no
    # GNU ld --with-gnu-ld=yes yes
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    #
    # Install documentation: yes
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=yes yes
    # TCMalloc --with-tcmalloc=yes yes
    # UMem --with-umem=no no
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=no no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    # Ghostscript lib --with-gslib=yes yes
    # Graphviz --with-gvc=yes yes
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    # LZMA --with-lzma=yes yes
    # Magick++ --with-magick-plus-plus=yes yes
    # OpenEXR --with-openexr=yes yes
    # OpenJP2 --with-openjp2=yes no
    # PANGO --with-pango=yes yes
    # PERL --with-perl=yes /usr/bin/perl
    # PNG --with-png=yes yes
    # RAQM --with-raqm=yes yes
    # RAW --with-raw=yes yes
    # RSVG --with-rsvg=yes no
    # TIFF --with-tiff=yes yes
    # WEBP --with-webp=yes yes
    # WMF --with-wmf=yes yes
    # X11 --with-x=yes yes
    # XML --with-xml=yes no
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-47
    # CC = gcc
    # CFLAGS = -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=native -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -ljemalloc -lpthread -ltcmalloc_minimal
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr pango png ps raqm raw tiff webp wmf x zip zlib zstd
    # ==============================================================================

    make -j 8
    sudo make install
  11. @hurricup hurricup revised this gist Aug 28, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ sudo apt remove imagemagick -y

    # install base dependencies
    sudo apt-get install -y \
    build-essential \
    libde265-dev \
    libdjvulibre-dev \
    libfftw3-dev \
  12. @hurricup hurricup revised this gist Aug 28, 2022. 1 changed file with 7 additions and 6 deletions.
    13 changes: 7 additions & 6 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-39 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-47 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    @@ -181,10 +181,11 @@ sudo ldconfig /usr/local/lib
    # check
    identify --version

    # Version: ImageMagick 7.1.0-10 Q16-HDRI x86_64 2021-10-03 https://imagemagick.org
    # Copyright: (C) 1999-2021 ImageMagick Studio LLC
    # Version: ImageMagick 7.1.0-47 Q16-HDRI x86_64 d91623c12:20220827 https://imagemagick.org
    # Copyright: (C) 1999 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5)
    # Delegates (built-in): fontconfig freetype heic jp2 png webp x xml zlib
    # Compiler: gcc (10.3)
    # Features: Cipher DPC HDRI OpenMP(4.5) TCMalloc
    # Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
    # Compiler: gcc (11.1)


  13. Alexandr Evstigneev revised this gist Jun 29, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 --branch 7.1.0-14 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-39 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
  14. Alexandr Evstigneev revised this gist Apr 17, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -42,6 +42,7 @@ cd ImageMagick
    # --with-ltdl=no \ # ?

    ./configure \
    --with-gcc-arch=native \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-fftw=yes \
  15. Alexandr Evstigneev revised this gist Nov 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,7 @@ sudo apt-get install -y \
    libzstd-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    git clone --depth 1 --branch 7.1.0-14 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
  16. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -9,10 +9,12 @@ sudo apt-get install -y \
    libdjvulibre-dev \
    libfftw3-dev \
    libghc-bzlib-dev \
    libgoogle-perftools-dev \
    libgraphviz-dev \
    libgs-dev \
    libheif-dev \
    libjbig-dev \
    libjemalloc-dev \
    libjpeg-dev \
    liblcms2-dev \
    liblqr-1-0-dev \
    @@ -25,9 +27,7 @@ sudo apt-get install -y \
    libwebp-dev \
    libwmf-dev \
    libzip-dev \
    libzstd-dev \
    libjemalloc-dev \
    libgoogle-perftools-dev
    libzstd-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    @@ -51,6 +51,7 @@ cd ImageMagick
    --with-gvc=yes \
    --with-heic=yes \
    --with-jbig=yes \
    --with-jemalloc=yes \
    --with-jpeg=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    @@ -64,16 +65,15 @@ cd ImageMagick
    --with-raqm=yes \
    --with-raw=yes \
    --with-rsvg=yes \
    --with-tcmalloc=yes \
    --with-tiff=yes \
    --with-webp=yes \
    --with-wmf=yes \
    --with-x=yes \
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes \
    --with-tcmalloc=yes \
    --with-jemalloc=yes
    --with-zstd=yes

    # ==============================================================================
    # ImageMagick 7.1.0-10 is configured as follows. Please verify that this
  17. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -25,7 +25,9 @@ sudo apt-get install -y \
    libwebp-dev \
    libwmf-dev \
    libzip-dev \
    libzstd-dev
    libzstd-dev \
    libjemalloc-dev \
    libgoogle-perftools-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    @@ -69,7 +71,9 @@ cd ImageMagick
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes
    --with-zstd=yes \
    --with-tcmalloc=yes \
    --with-jemalloc=yes

    # ==============================================================================
    # ImageMagick 7.1.0-10 is configured as follows. Please verify that this
  18. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ sudo apt remove imagemagick -y
    sudo apt-get install -y \
    libde265-dev \
    libdjvulibre-dev \
    libfftw3-dev \
    libghc-bzlib-dev \
    libgraphviz-dev \
    libgs-dev \
  19. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 98 additions and 0 deletions.
    98 changes: 98 additions & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -70,6 +70,104 @@ cd ImageMagick
    --with-zlib=yes \
    --with-zstd=yes

    # ==============================================================================
    # ImageMagick 7.1.0-10 is configured as follows. Please verify that this
    # configuration matches your expectations.
    #
    # Host system type: x86_64-pc-linux-gnu
    # Build system type: x86_64-pc-linux-gnu
    #
    # Option Value
    # ------------------------------------------------------------------------------
    # Shared libraries --enable-shared=yes yes
    # Static libraries --enable-static=yes yes
    # Build utilities --with-utilities=yes yes
    # Module support --with-modules=no no
    # GNU ld --with-gnu-ld=yes yes
    # Quantum depth --with-quantum-depth=16 16
    # High Dynamic Range Imagery
    # --enable-hdri=yes yes
    #
    # Install documentation: yes
    #
    # Memory allocation library:
    # JEMalloc --with-jemalloc=no no
    # TCMalloc --with-tcmalloc=no no
    # UMem --with-umem=no no
    #
    # Delegate library configuration:
    # BZLIB --with-bzlib=yes yes
    # Autotrace --with-autotrace=no no
    # DJVU --with-djvu=yes yes
    # DPS --with-dps=yes no
    # FFTW --with-fftw=yes yes
    # FLIF --with-flif=yes no
    # FlashPIX --with-fpx=yes no
    # FontConfig --with-fontconfig=yes yes
    # FreeType --with-freetype=yes yes
    # Ghostscript lib --with-gslib=yes yes
    # Graphviz --with-gvc=yes yes
    # HEIC --with-heic=yes yes
    # JBIG --with-jbig=yes yes
    # JPEG v1 --with-jpeg=yes yes
    # JPEG XL --with-jxl=no no
    # LCMS --with-lcms=yes yes
    # LQR --with-lqr=yes yes
    # LTDL --with-ltdl=no no
    # LZMA --with-lzma=yes yes
    # Magick++ --with-magick-plus-plus=yes yes
    # OpenEXR --with-openexr=yes yes
    # OpenJP2 --with-openjp2=yes yes
    # PANGO --with-pango=yes yes
    # PERL --with-perl=yes /usr/bin/perl
    # PNG --with-png=yes yes
    # RAQM --with-raqm=yes yes
    # RAW --with-raw=yes yes
    # RSVG --with-rsvg=yes yes
    # TIFF --with-tiff=yes yes
    # WEBP --with-webp=yes yes
    # WMF --with-wmf=yes yes
    # X11 --with-x=yes yes
    # XML --with-xml=yes yes
    # ZIP --with-zip=yes yes
    # ZLIB --with-zlib=yes yes
    # ZSTD --with-zstd=yes yes
    #
    # Delegate program configuration:
    # GhostPCL None pcl6 (unknown)
    # GhostXPS None gxps (unknown)
    # Ghostscript None gs (9.50)
    #
    # Font configuration:
    # Apple fonts --with-apple-font-dir=default
    # Dejavu fonts --with-dejavu-font-dir=default none
    # Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/type1/gsfonts/
    # URW-base35 fonts --with-urw-base35-font-dir=default none
    # Windows fonts --with-windows-font-dir=default none
    #
    # X11 configuration:
    # X_CFLAGS =
    # X_PRE_LIBS = -lSM -lICE
    # X_LIBS =
    # X_EXTRA_LIBS =
    #
    # Options used to compile and link:
    # PREFIX = /usr/local
    # EXEC-PREFIX = /usr/local
    # VERSION = 7.1.0-10
    # CC = gcc
    # CFLAGS = -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/openjpeg-2.3 -I/usr/include/graphviz -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -fopenmp -Wall -g -O2 -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    # PCFLAGS =
    # DEFS = -DHAVE_CONFIG_H
    # LDFLAGS =
    # LIBS = -ljbig -llcms2 -ltiff -lfreetype -lraqm -lfreetype -ljpeg -lgs -llqr-1 -lglib-2.0 -lpng16 -lz -ldjvulibre -lfftw3 -lfontconfig -lfreetype -lheif -lwebpmux -lwebpdemux -lwebp -lwebp -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lopenjp2 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lraw_r -lstdc++ -fopenmp -llcms2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lxml2 -lgvc -lcgraph -lcdt -lz -L/usr//usr/lib/x86_64-linux-gnu -lzip -lm -lpthread
    # CXX = g++
    # CXXFLAGS = -pthread
    # FEATURES = DPC HDRI Cipher OpenMP
    # DELEGATES = bzlib djvu fftw fontconfig freetype gslib heic jbig jng jpeg lcms lqr lzma openexr openjp2 pango png ps raqm raw rsvg tiff video webp wmf x xml zip zlib zstd


    make -j 8
    sudo make install
    sudo ldconfig /usr/local/lib
  20. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 14 additions and 13 deletions.
    27 changes: 14 additions & 13 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -5,25 +5,26 @@ sudo apt remove imagemagick -y

    # install base dependencies
    sudo apt-get install -y \
    libtiff-dev \
    libjpeg-dev \
    libpango1.0-dev \
    libwebp-dev \
    libwmf-dev \
    libde265-dev \
    libghc-bzlib-dev \
    libheif-dev \
    libraw-dev \
    libdjvulibre-dev \
    libgs-dev \
    libghc-bzlib-dev \
    libgraphviz-dev \
    libgs-dev \
    libheif-dev \
    libjbig-dev \
    libjpeg-dev \
    liblcms2-dev \
    liblqr-1-0-dev \
    libopenexr-dev \
    liblzma-dev \
    libopenexr-dev \
    libpango1.0-dev \
    libraqm-dev \
    libraw-dev \
    libtiff-dev \
    libwebp-dev \
    libwmf-dev \
    libzip-dev \
    libzstd-dev \
    liblcms2-dev \
    libjbig-dev
    libzstd-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
  21. Alexandr Evstigneev revised this gist Oct 8, 2021. No changes.
  22. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -5,13 +5,15 @@ sudo apt remove imagemagick -y

    # install base dependencies
    sudo apt-get install -y \
    libtiff-dev \
    libjpeg-dev \
    libpango1.0-dev \
    libwebp-dev \
    libwmf-dev \
    libde265-dev \
    libghc-bzlib-dev \
    libtiff-dev \
    libheif-dev \
    libjpeg-dev \
    libraw-dev \
    libdjvulibre-dev \
    libgs-dev \
    libgraphviz-dev \
  23. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -6,17 +6,21 @@ sudo apt remove imagemagick -y
    # install base dependencies
    sudo apt-get install -y \
    libwebp-dev \
    libwmf-dev \
    libde265-dev \
    libghc-bzlib-dev \
    libtiff-dev \
    libheif-dev \
    libjpeg-dev \
    libjpeg9-dev \
    libdjvulibre-dev \
    libgs-dev \
    libgraphviz-dev \
    liblqr-1-0-dev \
    libopenexr-dev \
    liblzma-dev \
    libzip-dev \
    libzstd-dev \
    liblcms2-dev \
    libjbig-dev

    # installing
    @@ -29,7 +33,6 @@ cd ImageMagick
    # --with-flif=yes \ # ?
    # --with-fpx=yes \ # ?
    # --with-jxl=yes \ # requires libjxl from the github
    # --with-lcms=yes \ # ?
    # --with-ltdl=no \ # ?

    ./configure \
    @@ -43,6 +46,7 @@ cd ImageMagick
    --with-heic=yes \
    --with-jbig=yes \
    --with-jpeg=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    --with-lzma=yes \
    --with-magick-plus-plus=yes \
  24. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 15 additions and 8 deletions.
    23 changes: 15 additions & 8 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -10,33 +10,40 @@ sudo apt-get install -y \
    libghc-bzlib-dev \
    libheif-dev \
    libjpeg-dev \
    libjpeg9-dev \
    libdjvulibre-dev \
    libgs-dev \
    libgraphviz-dev \
    liblqr-1-0-dev \
    libopenexr-dev \
    liblzma-dev \
    libjbig-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick

    # options omitted from the configure
    # --with-autotrace=yes \ # requires autotrace from the github, looks abandoned
    # --with-dps=yes \ # ?
    # --with-flif=yes \ # ?
    # --with-fpx=yes \ # ?
    # --with-jxl=yes \ # requires libjxl from the github
    # --with-lcms=yes \ # ?
    # --with-ltdl=no \ # ?

    ./configure \
    --with-bzlib=yes \
    --with-autotrace=yes \ # requires autotrace from the github, looks abandoned
    --with-djvu=yes \
    --with-dps=yes \ # ?
    --with-fftw=yes \
    --with-flif=yes \ # ?
    --with-fpx=yes \ # ?
    --with-fftw=yes \
    --with-fontconfig=yes \
    --with-freetype=yes \
    --with-gslib=yes \
    --with-gvc=yes \
    --with-heic=yes \
    --with-jbig=yes \
    --with-jpeg=yes \
    --with-jxl=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    --with-ltdl=yes \
    --with-lzma=yes \
    --with-magick-plus-plus=yes \
    --with-openexr=yes \
  25. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -11,19 +11,21 @@ sudo apt-get install -y \
    libheif-dev \
    libjpeg-dev \
    libdjvulibre-dev \
    libgs-dev \
    libgraphviz-dev \
    libjbig-dev

    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick
    ./configure \
    --with-bzlib=yes \
    --with-autotrace=yes \
    --with-autotrace=yes \ # requires autotrace from the github, looks abandoned
    --with-djvu=yes \
    --with-dps=yes \
    --with-fftw=yes \
    --with-flif=yes \
    --with-fpx=yes \
    --with-dps=yes \ # ?
    --with-fftw=yes \
    --with-flif=yes \ # ?
    --with-fpx=yes \ # ?
    --with-fontconfig=yes \
    --with-freetype=yes \
    --with-gslib=yes \
  26. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ sudo apt remove imagemagick -y
    sudo apt-get install -y \
    libwebp-dev \
    libde265-dev \
    libghc-bzlib-dev \
    libheif-dev \
    libjpeg-dev \
    libdjvulibre-dev \
  27. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@ sudo apt-get install -y \
    libde265-dev \
    libheif-dev \
    libjpeg-dev \
    libdjvulibre-dev \
    libjbig-dev

    # installing
  28. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 38 additions and 20 deletions.
    58 changes: 38 additions & 20 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -10,32 +10,50 @@ sudo apt-get install -y \
    libheif-dev \
    libjpeg-dev \
    libjbig-dev


    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick
    ./configure \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-heic=yes \
    --with-jbig \
    --with-jng \
    --with-jpeg \
    --with-lcms \
    --with-lqr \
    --with-ltdl \
    --with-lzma \
    --with-openxr \
    --with-panagocairo \
    --with-pdf \
    --with-png \
    --with-tiff \
    --with-webp \
    --with-wmf
    --with-bzlib=yes \
    --with-autotrace=yes \
    --with-djvu=yes \
    --with-dps=yes \
    --with-fftw=yes \
    --with-flif=yes \
    --with-fpx=yes \
    --with-fontconfig=yes \
    --with-freetype=yes \
    --with-gslib=yes \
    --with-gvc=yes \
    --with-heic=yes \
    --with-jbig=yes \
    --with-jpeg=yes \
    --with-jxl=yes \
    --with-lcms=yes \
    --with-lqr=yes \
    --with-ltdl=yes \
    --with-lzma=yes \
    --with-magick-plus-plus=yes \
    --with-openexr=yes \
    --with-openjp2=yes \
    --with-pango=yes \
    --with-perl=yes \
    --with-png=yes \
    --with-raqm=yes \
    --with-raw=yes \
    --with-rsvg=yes \
    --with-tiff=yes \
    --with-webp=yes \
    --with-wmf=yes \
    --with-x=yes \
    --with-xml=yes \
    --with-zip=yes \
    --with-zlib=yes \
    --with-zstd=yes

    make -j 8
    sudo make install
    sudo make install
    sudo ldconfig /usr/local/lib

    # check
    @@ -44,7 +62,7 @@ identify --version
    # Version: ImageMagick 7.1.0-10 Q16-HDRI x86_64 2021-10-03 https://imagemagick.org
    # Copyright: (C) 1999-2021 ImageMagick Studio LLC
    # License: https://imagemagick.org/script/license.php
    # Features: Cipher DPC HDRI OpenMP(4.5)
    # Features: Cipher DPC HDRI OpenMP(4.5)
    # Delegates (built-in): fontconfig freetype heic jp2 png webp x xml zlib
    # Compiler: gcc (10.3)

  29. Alexandr Evstigneev revised this gist Oct 8, 2021. 1 changed file with 10 additions and 4 deletions.
    14 changes: 10 additions & 4 deletions install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -4,15 +4,21 @@
    sudo apt remove imagemagick -y

    # install base dependencies
    sudo apt-get install -y libwebp-dev libde265-dev libheif-dev
    sudo apt-get install -y \
    libwebp-dev \
    libde265-dev \
    libheif-dev \
    libjpeg-dev \
    libjbig-dev


    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick
    ./configure \
    --with-bzlib \
    --with-djvu \
    --with-heic \
    --with-bzlib=yes \
    --with-djvu=yes \
    --with-heic=yes \
    --with-jbig \
    --with-jng \
    --with-jpeg \
  30. Alexandr Evstigneev renamed this gist Oct 8, 2021. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion gistfile1.txt → install_imagemagic_with_heic.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,25 @@ sudo apt-get install -y libwebp-dev libde265-dev libheif-dev
    # installing
    git clone --depth 1 https://github.com/ImageMagick/ImageMagick.git
    cd ImageMagick
    ./configure --with-webp=yes --with-heic=yes
    ./configure \
    --with-bzlib \
    --with-djvu \
    --with-heic \
    --with-jbig \
    --with-jng \
    --with-jpeg \
    --with-lcms \
    --with-lqr \
    --with-ltdl \
    --with-lzma \
    --with-openxr \
    --with-panagocairo \
    --with-pdf \
    --with-png \
    --with-tiff \
    --with-webp \
    --with-wmf

    make -j 8
    sudo make install
    sudo ldconfig /usr/local/lib