Please find enclosed two attachments (original photo and a screenshot showing digiKams preview right and Apple preview left). As you can see, macOS preview is showing the correct photo, whereas digiKam preview seems to clip high tone contrasts. Surprisingly the icon preview is not showing that wired color tones.
Created attachment 175959 [details] original photo (.HEIC) original HEIC from iPhone 16 pro
Created attachment 175960 [details] screenshot with macOS preview and digicam
The image is displayed correctly here on my Linux developer version. I am using libheif-1.19.3. So the problem should be fixed if we update the libheif in the bundles. Maik
It could be something macOS specific, because with the Linux AppImage and libheif-1.18.2 the image is displayed correctly. Maik
The cause is the color profile. I can reproduce the problem. The color profile is unknown to our libheif loader. Now we have added color profile support with digiKam-8.5.0 and ExifTool. ExifTool can create an image color profile in the metadata that we can then use. So you have to activate reading metadata with ExifTool in the digiKam settings under Metadata. Then the image will load correctly. Maik
Hi Maik, activating exiftool for reading the metadata and refreshing the album solved the issue. Many thanks. Manuel > Am 19.11.2024 um 21:23 schrieb Maik Qualmann <bugzilla_noreply@kde.org>: > > https://bugs.kde.org/show_bug.cgi?id=496474 > > --- Comment #5 from Maik Qualmann <metzpinguin@gmail.com> --- > The cause is the color profile. I can reproduce the problem. The color profile > is unknown to our libheif loader. Now we have added color profile support with > digiKam-8.5.0 and ExifTool. ExifTool can create an image color profile in the > metadata that we can then use. > So you have to activate reading metadata with ExifTool in the digiKam settings > under Metadata. Then the image will load correctly. > > Maik > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You reported the bug.
Git commit 537684b45c4000cdbf3ed8ac327713c40410f766 by Maik Qualmann. Committed on 20/11/2024 at 06:37. Pushed by mqualmann into branch 'master'. not load image ICC profile with Exiv2 M +0 -12 core/libs/metadataengine/engine/metaengine_fileio.cpp https://invent.kde.org/graphics/digikam/-/commit/537684b45c4000cdbf3ed8ac327713c40410f766