SUMMARY digiKam no longer shows a preview for xcf images. It now shows the green landscape icon for images that failed to preview. In 8.1.0 all of the XCF images I had correctly showed a preview of the image. STEPS TO REPRODUCE 1. Create image using Gimp xcf 2.10.36 2. Refresh a digiKam album containing that image OBSERVED RESULT An icon indicating that there is no preview EXPECTED RESULT A preview of the image SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I can't test the Windows version until tomorrow, but here under Linux no problem with a Gimp XCF image version 2.10.36. The Windows version of the KF6 ImageFormat plugins should be on the same level as my openSUSE. Maik
Created attachment 164489 [details] Logs of xcf preview image failure I set up a new album with a simple XCF that is just a filled, white canvas with GIMP 2.10.36. These are the logs from DebugView when I clicked "preview" to try to show the image.
Can you email me an XCF image that won't load? Maik
Thanks for the XCF image. This is strange, I can't open it with digiKam (Qt6) under Linux either, same error message from QImage Loader. So it's not a Windows specific problem. But I can open it here with Gwenview (Qt5), so there must be a bug in the KImageFormats plugins between Qt5->Qt6. But why can I open my Gimp 2.10.36 XCF images? Maik
Git commit 53ff2e16647563f9a8f6919a26bf8e1f06131ad2 by Maik Qualmann. Committed on 27/12/2023 at 22:31. Pushed by mqualmann into branch 'master'. adjust QImageReader::setAllocationLimit() to 2GB in Qt6 In Qt6 there is an option to set the maximum memory allocation limit, the default value is relatively small. We set it to 0; according to the Qt-Doc, this should deactivate the memory check. This doesn't seem to work with XCF. FIXED-IN: 8.3.0 M +1 -1 NEWS M +1 -1 core/app/main/main.cpp M +1 -1 core/showfoto/main/main.cpp https://invent.kde.org/graphics/digikam/-/commit/53ff2e16647563f9a8f6919a26bf8e1f06131ad2
A new digiKam-8.3.0 test version that contains the change will be available here in the next few days: https://files.kde.org/digikam/ Maik