Login  Register

Re: GIMP xcf support?

Posted by Gilles Caulier-4 on May 26, 2021; 3:51am
URL: http://digikam.185.s1.nabble.com/digiKam-users-GIMP-xcf-support-tp4716806p4716838.html

Hi,

Yes problem is fully reproducible here. the Unit test from digiKam trying to load image report a message from the KImageIO XCF plugin as file is not recognized :

digikam.dimg: "cares-20170212-6640.xcf" : "QIMAGE" file identified
digikam.dimg.qimage: Can not load " "cares-20170212-6640.xcf" " using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: "Unable to read image data"                              <=====!!!!!!!
digikam.dimg: "cares-20170212-6640.xcf" : Unknown image format !!!

This i sa problem in the KDE plugin. The problem is the same for both shared files.

Note  that Exiftool is able to load XCF metadata :

[gilles@localhost dimg]$ exiftool  cares-20170212-6640.xcf
ExifTool Version Number         : 12.00
File Name                       : cares-20170212-6640.xcf
Directory                       : .
File Size                       : 98 MB
File Modification Date/Time     : 2021:05:26 05:13:00+02:00
File Access Date/Time           : 2021:05:26 05:37:17+02:00
File Inode Change Date/Time     : 2021:05:26 05:37:05+02:00
File Permissions                : rw-r--r--
File Type                       : XCF
File Type Extension             : xcf
MIME Type                       : image/x-xcf
XCF Version                     : 12
Image Width                     : 4781
Image Height                    : 3586
Color Mode                      : RGB Color
Compression                     : RLE Encoding
X Resolution                    : 300
Y Resolution                    : 300
Tattoo                          : 2
Units                           : Inches
Metadata Tag Name               : Exif.Canon.0x0003
Metadata Tag                    : 0 0 0 0
Comment                         :
Image Size                      : 4781x3586
Megapixels                      : 17.1

So, please report this problem to KDE bugzilla component "frameworks-kimageformats". Look like there are already some files open about XCF support, and especially when color depth is higher than 8 bits.

https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&component=general&list_id=1874818&product=frameworks-kimageformats&query_format=advanced

Best

Gilles Caulier

Le mar. 25 mai 2021 à 18:00, <[hidden email]> a écrit :
On Tue, 25 May 2021 11:26:29 -0400
Gilles Caulier <[hidden email]> wrote:

> Can you share the XCF file to test ?

Yes:

https://www.sritch.com/pages/cares-20170212-6640.xcf
https://www.sritch.com/pages/construction-broadway-20080331-0030.xcf

They are

* cares: 98Mb
* construction: 298Mb

Thank you

--
sknahT

vyS