Skip to main content

libheif (heic) and ImageMagick

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! Can you let me know what specifically isn't being recognized and where you are seeing the error? Once I know that I may be ablet to get you more details.
    0
  • vpswing
    According to the docs, the following command is run: convert -version It should show: Delegates (built-in): bzlib cairo heic fontconfig freetype gslib jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff wmf x xml zlib BUT when I tried it, "heic" is not in the list of Delegates.
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details. It's important to note that the libheif tools are not something that is natively supported by cPanel, so it may not properly integrate into our system. I setup a new AlmaLinux 8 system, installed ImageMagick, enabled the rpmfusion repository, installed libheif. My output from "convert -version" is this: Delegates (built-in): bzlib cairo djvu fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zlib
    so that seems to be the same as your configuration. I believe the issue is that the distribution of ImageMagick doesn't have the option to compile in support for libheif, so you'd need to create a custom RPM in order to perform that work. It would likely be best to create a feature request using the link in my signature so we could add that to the cPanel tools. If you can do that, or if you'd like me to do that for you, I can bring that up during next week's feature meeting. It might be best to create a feature request using the link in my signature so our team can review this and get it applied to a future version. If you can create that request, or if you'd like me to do that for you, I can bring it up with the team during next week's features meeting.
    0
  • vpswing
    Hi CPRex, Thanks for the follow-up, appreciate it. Yes, if you could bring this up with the team next week, that would be really great. I'm sure there are countless others who would love to see this feature in cPanel. Best regards.
    0
  • cPRex Jurassic Moderator
    I have created the feature request here:
    0
  • vpswing
    > and I'll bring it up with the team! Thanks CPRex! Maybe suggest using Imagick7 instead of 6 if possible.
    0
  • Jeremy Knab

    I'm sharing what I did on an AlmaLinux v8 server.

    Thank you Remi Repo https://blog.remirepo.net/pages/Config-en

    Install the remi-release-8

    dnf install http://rpms.remirepo.net/enterprise/remi-release-8.rpm -y
    dnf update
    dnf repolist

    Install ImageMagick-heic

    Use the remi repository to get and install ImageMagick HEIC package which will then build support for reading HEIC, HEIF and AVIF formats.

    dnf --enablerepo=remi install ImageMagick-heic
    0

Please sign in to leave a comment.