Bug 494304 - HEIC not showing in album - green icon displayed instead
Summary: HEIC not showing in album - green icon displayed instead
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-HEIF (show other bugs)
Version: 8.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-08 19:24 UTC by Caro
Modified: 2024-12-01 10:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.5.0
Sentry Crash Report:


Attachments
Example of such a picture (3.18 MB, application/octet-stream)
2024-10-08 19:24 UTC, Caro
Details

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 6 Caro 2024-12-01 09:27:59 UTC
Thanks for improving the situation with the last version of Digikam !

However, if the thumbnails are now well showing up, the pictures themselves have very weird colors displayed.

Here is an example of the same picture sent first place, displayed in Digikam, and displayed in Windows: https://we.tl/t-UtZs8NbdLx

Is there maybe a setting to change somewhere so the files display properly ? 

Thanks for your help !
Comment 7 Maik Qualmann 2024-12-01 09:51:28 UTC
This issue is fixed with bug 496474.

You can use the current pre-release digiKam-8.6.0:

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

or enable reading of metadata with ExifTool in digiKam-8.5.0.

Maik
Comment 8 Caro 2024-12-01 10:19:24 UTC
Thanks ! I didn't change the setting to Read from Exiftool (it was only writing with Exiftool). Works like a charm now !