Bug 494304

Summary: HEIC not showing in album - green icon displayed instead
Product: [Applications] digikam Reporter: Caro <caro.portal>
Component: Plugin-DImg-HEIFAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.5.0
Sentry Crash Report:
Attachments: Example of such a picture

Description Caro 2024-10-08 19:24:17 UTC
Created attachment 174541 [details]
Example of such a picture

SUMMARY
HEIC pictures, from iPhone 16, display as green file icon. If trying to display the picture, the picture frame remains empty, and the message "Failed to load image" is displayed.

The images are properly displayed in Windows Explorer, and can be open with any other software.

STEPS TO REPRODUCE
1. In Windows, move the picture file to an album folder
2. In Digikam, Navigate to the album
3. The green file icon shows up

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2024-10-08 20:08:36 UTC
To display HEIF images from current IOS devices, a current libheif is required. Problem is fixed with the upcoming digiKam-8.5.0:

https://files.kde.org/digikam/

Maik
Comment 2 Maik Qualmann 2024-10-08 20:25:25 UTC
@Gilles, I don't have Windows available here at the moment, are we already on the current libheif version under Windows?

Maik
Comment 3 caulier.gilles 2024-10-08 20:31:22 UTC
yes, vcpkg provide the libheif 1.18.2 

Gilles
Comment 4 Maik Qualmann 2024-10-09 11:30:46 UTC
@Gilles, the current libheif version in the vcpkg Windows Qt6 bundle is still 1.17.6.
The vcpkg probably needs to be recompiled.

Maik
Comment 5 caulier.gilles 2024-10-09 15:09:05 UTC
Done :

https://i.imgur.com/azAPhLh.png

Gilles