Bug 1213371

Summary: Dolphin cannot display HEIC images
Product: [openSUSE] openSUSE Tumbleweed Reporter: Wilms <f.alexander.wilms>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aguadopd, f.alexander.wilms
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1199987
https://bugzilla.opensuse.org/show_bug.cgi?id=1213372
https://bugzilla.suse.com/show_bug.cgi?id=1213373
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wilms 2023-07-17 00:20:14 UTC
Dolphin does not show thumbnails for .heic files.
Comment 1 Wilms 2023-07-17 00:30:55 UTC
Tested with Dolphin 23.04.3
Comment 2 Christophe Marin 2023-07-17 06:15:41 UTC
*** Bug 1213372 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2023-07-17 06:28:08 UTC
I can't reproduce with https://github.com/dsoprea/heic-exif-samples/blob/master/image1.heic.

kimageformats is already built with HEIF support enabled.
Comment 4 Christophe Marin 2023-07-17 06:51:32 UTC
Make sure your libheif packages come from packman.

`rpm -qi libheif1` will tell you where it comes from (look at the 'Packager' or 'Vendor' line).
Comment 5 Wilms 2023-07-17 08:52:52 UTC
This command showed that libheif1 had been installed from vendor openSUSE

"$ rpm -qi libheif1
Name        : libheif1
Version     : 1.16.2
Release     : 1.2
Architecture: x86_64
Install Date: 2023-06-25T22:58:08 CEST
Group       : System/Libraries
Size        : 677435
License     : GPL-2.0-or-later
Signature   : RSA/SHA512, 2023-06-15T02:05:29 CEST, Key ID 35a2f86e29b700a4
Source RPM  : libheif-1.16.2-1.2.src.rpm
Build Date  : 2023-06-15T02:04:24 CEST
Build Host  : lamb58
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://github.com/strukturag/libheif
Summary     : HEIF/AVIF file format decoder and encoder
Description :
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format) file
format decoder and encoder.

HEIF and AVIF are new image file formats employing HEVC (H.265) or AV1 image
coding, respectively, for the best compression ratios currently possible.

For AVIF libaom, dav1d, or rav1e are used as codecs. HEIF support is not
provided.
Distribution: openSUSE Tumbleweed"

After adding Packman and installing libheif1 from it, Dolphin, Gwenview and GIMP could display the image without issue.

But why is the required libheif1 package only available in Packman? Could the package in openSUSE be build the same way?

"$ zypper se -sx  libheif1
Loading repository data...
Reading installed packages...

S  | Name     | Type    | Version            | Arch   | Repository
---+----------+---------+--------------------+--------+------------------------
v  | libheif1 | package | 1.16.2-1.2         | x86_64 | openSUSE:Tumbleweed
v  | libheif1 | package | 1.16.2-1.2         | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libheif1 | package | 1.16.2-1699.5.pm.6 | x86_64 | packman-essentials
v  | libheif1 | package | 1.16.2-1699.5.pm.6 | i586   | packman-essentials     "
Comment 6 Christophe Marin 2023-07-17 09:16:26 UTC
(In reply to Wilms from comment #5)
> This command showed that libheif1 had been installed from vendor openSUSE
> 

There are patent issues with libheif, install the packman package instead.


https://en.opensuse.org/Additional_package_repositories#Packman
Comment 7 Wilms 2023-07-19 19:22:34 UTC
After I installed libheif1 from Packman, Dolphin, Gwenview and GIMP could display the image without issue.

Or do you need more info?
Comment 8 Christophe Marin 2023-07-19 19:46:38 UTC
No, let's just close the report
Comment 9 Pablo Aguado 2024-04-19 22:25:44 UTC
*** Bug 1223160 has been marked as a duplicate of this bug. ***