HEIC support of imagemagick, gimp and krita not working but showFoto works

Imagemagicks in Tumbleweed seems to have been built with support for .heic files, and libheif version 1.10.0-3.1 is installed, but I am unable to read or convert any files of this type:

display --version
Version: ImageMagick 7.0.10-55 Q16 x86_64 20210103 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib

display IMG_2304.heic
display: Unsupported feature: Unsupported codec `/home/xxx/IMG_2304.heic’ @ error/heic.c/IsHeifSuccess/135.

[FONT=arial]GIMP 2.10.22 and Krita also show errors when I try to open a .heic file. Only showFoto works. I can reproduce this issue with .heic files from an iPhone X and from https://github.com/tigranbs/test-heic-images

[/FONT]

1 Like

Hi
You need to install the Packman version of libheif…

https://forums.opensuse.org/attachment.php?attachmentid=969&stc=1

Screenshot from 2021-01-23 09-47-07.png

Thank you so much! That did the trick. Although I still don’t understand why a non-functional version of libheif is packaged in the standard repositories…

Hi
It’s packaged/maintained without x265 support in openSUSE, linked to Packman to provide this patent encumbered support… :wink:

For Gimp install gimp-plugin-heif from Packman.

gimp-plugin-heif - Plugin for GIMP to load HEIF files

This is a GIMP plugin for loading and saving HEIF images (High Efficiency Image File Format). HEIF is a new image file format employing HEVC (h.265) image coding for the best compression ratios currently possible.

Can see pictures with showFoto and GNOME utility.

I can see AVIF pictures only with Vivaldi browser.