Bugzilla – Bug 1199987
broken/missing HEIF support (and HEIC images)
Last modified: 2023-07-17 00:28:41 UTC
openSUSE Leap has a broken HEIF image support. The problem raises, as the latest Apple products has it as default image format, and moderm Android applications support it as well. As far as I see, there are following problems: libheif: gdk-pixbuf-loader does not work: Problem of missing scriptlets. geeqie: Problem (at least) with ignored HEIF (and many other) formats in the spec file. ristretto: Not yet analyzed. GIMP: gimp-plugin-heif is not part of openSUSE at all. It could be imported from Packman.
libheif: https://build.opensuse.org/request/show/979508 to Factory
geeqie: https://build.opensuse.org/request/show/979510 to Factory
Another broken package: file: HEIF support exists there, but it is broken by too wide checks for MP4. My HEIC images (Samsung Galaxy Note10) are recognized as: 20220412_172807.heic: ISO Media Note: Actually, ristretto was tested on 15.3. Needs to be tested on 15.4.
This is an autogenerated message for OBS integration: This bug (1199987) was mentioned in https://build.opensuse.org/request/show/983434 Factory / geeqie
Regarding GIMP: It contains native HEIF support for a long time, so gimp-plugin-heif is obsolete now. But it is disabled in the spec for 15.4, where libheif reached SLE15 SP4. (Even 15.3 has required packages, but not SLE15 SP3.) %if 0%{?suse_version} >= 1550 %bcond_without libheif An easy fix enables support for HEIF in 15.4 and SLE15 SP4: %if 0%{?suse_version} >= 1500 %bcond_without libheif As suse_version is equal to 1500 for both 15.3 and 15.4, it cannot discriminate between 15.3 and 15.4. But there is a problem: GIMP checks during configure for encoders and decoders, and then probably modifies the GUI. (Needs check.) What is wrong with it? openSUSE version of libheif does not support patent encumbered codecs like H265/HEVC, which is the most often used HEIF codec.
HEIF (HEVC) is a patent minefield. You wont see HEIF support in openSUSE. If you want a libheif which supports the HEIF format, install it from Packman.
Well, but we still should support libheif in packages, where it is appropriate. Otherwise replacement of libre libheif from openSUSE by the Packman one will not work.
It is unclear against which package or component this bug is. If it is a gnome application, then the application need to detect if libheif has been compiled with HEIF support or not. This is probably something you should report upstream. If there is a packaging bug for libheif please open a new bug and provide more details or how to reproduce it.
At the first, this was a generic reminder. But later I realized that several packagers ignored libheif support. gimp, geeqie, in SLE15 SP3 it was also imagemagick. geeqie is now fixed. gimp still needs some work. I'll check later, what can be done about it.
SUSE-RU-2022:3733-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1199987 CVE References: JIRA References: Sources used: openSUSE Leap 15.4 (src): libheif-1.12.0-150400.3.3.1 SUSE Linux Enterprise Module for Desktop Applications 15-SP4 (src): libheif-1.12.0-150400.3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.