Bug 368444 - Not supporting XCF anymore
Summary: Not supporting XCF anymore
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 5.1.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
Depends on:
Reported: 2016-09-08 09:03 UTC by Vincent Tassy
Modified: 2020-05-09 14:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Tassy 2016-09-08 09:03:11 UTC
Since migration to v5 (5.1 to be precise), Gimp XCF files can no longer be viewed.

Thumbnails are not generated for new XCF files. If files are clicked, the preview window says "Failed to load image"

For XCF that were in the database before migrating to V5, thumbnails are still visible but the files can't be viewed either.

Here's what the logs say:

digikam.general: Cannot create thumbnail for  "/home/timetre/Pictures/02 A Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf"
digikam.general: Thumbnail is null for  "/home/timetre/Pictures/02 A Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/timetre/Pictures/02 A Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf: The file contains data of an unknown image type
digikam.dimg.qimage: Can not load " "/home/timetre/Pictures/02 A Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf" " using DImg::QImageLoader!
digikam.general: Cannot extract preview for  "/home/timetre/Pictures/02 A Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf"
Comment 1 caulier.gilles 2016-09-08 14:54:40 UTC
digikam.dimg.qimage: Can not load " "/home/timetre/Pictures/02 A
Tagger/2016-09-02-Sous_le_phare/Tassy_20160902_1666.xcf" " using

digiKam delegate XCF support to KDE5 QImage loader plugins. Install these extra run-time to solve this problem.

digiKam do not have XCF decoder.

Gilles Caulier
Comment 2 Vincent Tassy 2016-09-08 15:59:42 UTC
Thanks Gilles

I have the kdegraphics-thumbnailer package installed so that's not it.
Any idea what could be the name of the library providing this support ? There's a ton of kde packages, kind of hard finding which one gives what's needed ...
Comment 3 caulier.gilles 2016-09-08 16:14:34 UTC
kdegraphics-thumbnailers repository has only RAW and PS  support :


kimageformats repository has XCF support :


Gilles Caulier
Comment 4 Vincent Tassy 2016-09-08 16:23:39 UTC
Yep, you nailed it Gilles !

kf5-kimageformats was the missing package
I only had an old kde4 compatibility lib ...

All good now ! Thanks again !
Comment 5 caulier.gilles 2016-09-18 12:48:23 UTC
Git commit bbcb98526b5878491a96e440ae534a1637e4ef8e by Gilles Caulier.
Committed on 18/09/2016 at 12:47.
Pushed by cgilles into branch 'master'.

add extra Qimage Loaders for Windows and MacOS

M  +1    -0    project/macports/02-build-extralibs.sh
M  +1    -0    project/mxe/02-build-extralibs.sh

Comment 6 caulier.gilles 2020-05-09 12:35:29 UTC
Git commit d9a57550ee4d08f1ab612723b315348af9bab9da by Gilles Caulier.
Committed on 09/05/2020 at 12:31.
Pushed by cgilles into branch 'master'.

Switch all digiKam bundles to last 5.70 which now support new Gimp XCF file format.
See KF5 release announcement : https://kde.org/announcements/kde-frameworks-5.70.0.php
"KImageFormats: Add support for modern Gimp images/XCF files"
This will permit to digiKam and Showfoto to show XCF thumbnail and load preview/full image (read only)
Related: bug 309465, bug 186641, bug 224697, bug 250003, bug 339152, bug 412339

M  +3    -3    project/bundles/3rdparty/ext_kf5_frameworks/CMakeLists.txt