<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>360821</bug_id>
          
          <creation_ts>2016-03-21 16:28:08 +0000</creation_ts>
          <short_desc>Gimp 2.10 xcf files cannot be loaded</short_desc>
          <delta_ts>2020-10-25 17:18:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kimageformats</product>
          <component>general</component>
          <version>5.46.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex6">alex.premie</reporter>
          <assigned_to name="Alex Merry">alex.merry</assigned_to>
          <cc>aacid</cc>
    
    <cc>bugzilla</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>cfeck</cc>
    
    <cc>dev</cc>
    
    <cc>dion</cc>
    
    <cc>halla</cc>
    
    <cc>jehan</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>leoutation</cc>
    
    <cc>myriam</cc>
    
    <cc>private_lock</cc>
    
    <cc>samrog131</cc>
    
    <cc>wzc782970009</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1583862</commentid>
    <comment_count>0</comment_count>
    <who name="Alex6">alex.premie</who>
    <bug_when>2016-03-21 16:28:08 +0000</bug_when>
    <thetext>Gwenview unable to load and show xcf files from Gimp 2.9 version.
( no problem with xcf from Gimp 2.8 )

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1583863</commentid>
    <comment_count>1</comment_count>
    <who name="Alex6">alex.premie</who>
    <bug_when>2016-03-21 16:30:01 +0000</bug_when>
    <thetext>Gwenview version 15.12.3 using KDE Fw 5.19.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1583894</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-03-21 18:21:36 +0000</bug_when>
    <thetext>If possible, add a link with description of the new file format. I only found references to the old file format.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1583906</commentid>
    <comment_count>3</comment_count>
    <who name="Rog131">samrog131</who>
    <bug_when>2016-03-21 19:12:30 +0000</bug_when>
    <thetext>Here is a thread of the thumbnailing of the Gimp 2.9 XCF files:  https://mail.gnome.org/archives/gimp-developer-list/2016-January/msg00007.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621038</commentid>
    <comment_count>4</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2016-09-11 15:51:25 +0000</bug_when>
    <thetext>I can reproduce bug with:
Fedora 24 system
digikam 5.1 fedora package compiled with kde 5.24.0
installed kde version: 5.25
I use gimp-2.9.4 dev version. I can&apos;t open in Digikam 5.1 .xcf files or get  .xcf thumbnails.
DK 5.1 works normally with .xcf created with gimp 2.8.x. 
Digikam doesn&apos;t work with .xcf created with gimp 2.9.4 
It seems to be a compatibility problem with xcf version 8 created with gimp 2.9.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621455</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-09-12 00:45:37 +0000</bug_when>
    <thetext>Marcel, see comment #2. Without information about the new file format, there is nothing we can do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621584</commentid>
    <comment_count>6</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2016-09-12 10:38:25 +0000</bug_when>
    <thetext>I think it&apos;s useful
- Add LZMA2 compressed file support (.xcf.xz/.xcfxz)
- Internal tile compression for XCF is now zlib (instead of RLE) 
http://wiki.gimp.org/wiki/Release:2.10_changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621873</commentid>
    <comment_count>7</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2016-09-13 16:15:06 +0000</bug_when>
    <thetext>More information about xcf here:
https://github.com/GNOME/gimp/blob/master/devel-docs/xcf.txt
Mainly:
PROP_COMPRESSION (essential)
  uint32  17       Type identification
  uint32  1        One byte of payload
  byte    comp     Compression indicator; one of
                     0: No compression
                     1: RLE encoding
                     2: (Never used, but reserved for zlib compression)
3: (Never used, but reserved for some fractal compression)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621901</commentid>
    <comment_count>8</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-09-13 18:45:35 +0000</bug_when>
    <thetext>The document referenced in comment #7 describes the old (2.8) format, but does not have any information about the 2.9 additions/changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1674966</commentid>
    <comment_count>9</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-05-05 17:59:33 +0000</bug_when>
    <thetext>*** Bug 379550 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1675008</commentid>
    <comment_count>10</comment_count>
    <who name="Janet">bugzilla</who>
    <bug_when>2017-05-05 22:49:41 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #2)
&gt; If possible, add a link with description of the new file format. I only
&gt; found references to the old file format.

Might help?
https://bugzilla.gnome.org/show_bug.cgi?id=782244</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748787</commentid>
    <comment_count>11</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2018-04-29 09:31:36 +0000</bug_when>
    <thetext>kimageformats 5.45.0-1 (kf5) is installed on my (Arch linux) system but .xcf thumbnails created with gimp-2.10 or 2.9 are not displayed. Thumbs created with all gimp 2.8 versions are displayed. Problem is present from gimp-2.9, when .xcf format changed. Dolphin-18.0.4 can display new .xcf format created with gimp-2.10 
https://wiki.gimp.org/wiki/Release:2.10_changelog
Substantial rewrite of layer modes and how they are stored in XCF
Add LZMA2 compressed file support (.xcf.xz/.xcfxz)
Internal tile compression for XCF is now zlib (instead of RLE)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748799</commentid>
    <comment_count>12</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2018-04-29 10:13:09 +0000</bug_when>
    <thetext>Precision, it seems to be a specific kimageformats bug: Dolphin-18.0.4, Nautilus-3.28 and Thunar-1.6.15 can display new .xcf format created with gimp-2.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1752380</commentid>
    <comment_count>13</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2018-05-14 14:01:30 +0000</bug_when>
    <thetext>I installed today new framework 5.46 + kimageformats-5.46 then I compiled again Digikam-5.9. It doesn&apos;t display .xcf thumbnails created with Gimp-2.10.
All others formats (ora, jpeg, png, tiff, etc) are displayed in DK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1752382</commentid>
    <comment_count>14</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-05-14 14:04:14 +0000</bug_when>
    <thetext>Please provide the information requested in comment #2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753326</commentid>
    <comment_count>15</comment_count>
    <who name="Jehan">jehan</who>
    <bug_when>2018-05-18 02:57:00 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #14)
&gt; Please provide the information requested in comment #2.

Hello!
I have started updating the documentation of the XCF format.
See the last commits to see the major changes in the format since GIMP 2.8:
https://git.gnome.org/browse/gimp/log/devel-docs/xcf.txt

I think the only remaining feature that still have to be added (will do tomorrow) is about masks on group layers. And there may be an information about endianness but this is mostly a bug which touched development format of XCF and which should not be a problem if you only target stable XCF versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753367</commentid>
    <comment_count>16</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2018-05-18 08:50:24 +0000</bug_when>
    <thetext>Good news. Thanks, Jehan :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753385</commentid>
    <comment_count>17</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-05-18 11:42:45 +0000</bug_when>
    <thetext>Thanks for the update; changing status.

Regarding layer blending modes, do you have a link to the code to understand the actual formulas?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753450</commentid>
    <comment_count>18</comment_count>
    <who name="Jehan">jehan</who>
    <bug_when>2018-05-18 16:44:58 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #17)
&gt; Thanks for the update; changing status.
&gt; 
&gt; Regarding layer blending modes, do you have a link to the code to understand
&gt; the actual formulas?

In this file:
https://git.gnome.org/browse/gimp/tree/app/operations/layer-modes/gimp-layer-modes.c
You&apos;ll see the list of layer modes, and in particular notice the op_name parameter, which is the string you want to look for the implementation.

For instance, the &quot;Normal&quot; layer mode is the GEGL operation &quot;gimp:normal&quot; whose implementation is: https://git.gnome.org/browse/gimp/tree/app/operations/layer-modes/gimpoperationnormal.c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753513</commentid>
    <comment_count>19</comment_count>
    <who name="Jehan">jehan</who>
    <bug_when>2018-05-18 23:13:12 +0000</bug_when>
    <thetext>So I spent a good part of my day updating the docs, and I think it&apos;s not too bad now. After reviewing myself the changes, I think that the main points you&apos;ll want to check are:

- of course the new layer modes algorithms, as you note, but also the new composite mode, composite space and blend mode properties.
- the fact that pointers can now be on 8 bytes (XCF 11 and over).
- zlib compression
- and color precision per component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753833</commentid>
    <comment_count>20</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-05-20 20:59:28 +0000</bug_when>
    <thetext>Ha! There&apos;s https://git.gnome.org/browse/gimp/tree/devel-docs/xcf.txt -- and it&apos;s been updated just now. See https://www.gimp.org/news/2018/05/20/gimp-2-10-2-released/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770227</commentid>
    <comment_count>21</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2018-08-04 07:48:19 +0000</bug_when>
    <thetext>Is there no way to reuse the XCF load/save code from the gimp source for the xcf kimage format plugin? Is it really necessary to implement it from scratch? I think support for the new xcf format in the xcf kimage format now is even more important as GIMP 2.10 is released. For example, digikam now can&apos;t show many xcf files saved with GIMP 2.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770229</commentid>
    <comment_count>22</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-08-04 08:23:04 +0000</bug_when>
    <thetext>No, that is not possible. Gimp&apos;s xcf code loads directly into gimp&apos;s internal data structures, and saves directly from them. Re-using that code basically means embedding gimp. So it would be better to update the xcftools codebase, but afaik, nobody is working on that yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792331</commentid>
    <comment_count>23</comment_count>
    <who name="Holger">private_lock</who>
    <bug_when>2018-10-07 20:08:42 +0000</bug_when>
    <thetext>If there is a major overhaul of the xcf reader due, please also consider bug 126072 to incorporate gzip and bzip2 compression for image collections viewed in gwenview / digikam. Thanx!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792337</commentid>
    <comment_count>24</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-10-07 20:15:09 +0000</bug_when>
    <thetext>That should be completely independent -- and the patch looks like it could have been committed before in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830497</commentid>
    <comment_count>25</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-01-05 14:22:02 +0000</bug_when>
    <thetext>*** Bug 360806 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1834442</commentid>
    <comment_count>26</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-01-27 11:30:44 +0000</bug_when>
    <thetext>Albert asked me on IRC last night whether I thought that this might be a good gsoc project, but I was asleep (01:54:53)... The answer is, yes, could very well be. Take the xcftools library, modernize it and update it to xcf for gimp 2.10, then update this kimageio plugin and Krita&apos;s xcf plugin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847562</commentid>
    <comment_count>27</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-03-30 14:51:32 +0000</bug_when>
    <thetext>Hi all in this room.

I just recompiled digiKam 6.1.0 pre-release AppImage with KImageFormat 5.46:

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

...and the problem still reproducible with XCF images generated with Gimp 2.10 (zlib compression).

This is the console trace when digiKam try to load XCF through Qt Image Loader delegate to KImageFormat :

Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata using Exiv2   (Error # 11 :  /home/gilles/Pictures/Ubaye 2018/09-07-2018/DSC05816.xcf: The file contains data of an unknown image type
Digikam::DImg::load: &quot;/home/gilles/Pictures/Ubaye 2018/09-07-2018/DSC05816.xcf&quot;  : QIMAGE file identified
Digikam::QImageLoader::load: Can not load &quot; &quot;/home/gilles/Pictures/Ubaye 2018/09-07-2018/DSC05816.xcf&quot; &quot; using DImg::QImageLoader!
Digikam::QImageLoader::load: Error message from loader: &quot;Unable to read image data&quot;

The message from the last one come from KImageFormat XCF image loader.

I tested with gimp 2.8 and KImageFormat 5.46 has no problem to generate XCF thumbnails.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847570</commentid>
    <comment_count>28</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-03-30 15:14:20 +0000</bug_when>
    <thetext>Fro info, ImageMagick is able to display Gimp 2.10 XCF files :

[gilles@localhost 09-07-2018]$ display --version
Version: ImageMagick 7.0.8-35 Q16 x86_64 2019-03-26 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP 
Delegates (built-in): bzlib cairo fftw fontconfig freetype gvc heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff webp wmf x xml zlib
[gilles@localhost 09-07-2018]$ 


Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847994</commentid>
    <comment_count>29</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2019-04-01 15:17:54 +0000</bug_when>
    <thetext>If I understand:
- For three years, Kimageformats can&apos;t diplay xcf files (except old gimp files)
- ImageMagick can display all xcf files (I tested it)
Replacing Kimageformats by ImageMagick could be a good way to solve issue.
https://github.com/ImageMagick/ImageMagick
https://en.wikipedia.org/wiki/ImageMagick
ImageMagick is already required by 91 Archlinux packages:
https://www.archlinux.org/packages/extra/x86_64/imagemagick/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848012</commentid>
    <comment_count>30</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2019-04-01 17:13:53 +0000</bug_when>
    <thetext>You can&apos;t replace kimageformats with imagemagick, that simply makes no sense</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848038</commentid>
    <comment_count>31</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-04-01 18:12:27 +0000</bug_when>
    <thetext>To replace whole image format supported by KImageFormat certainly no, but to call ImageMagick C++ API to get the big advantage to render plenty of image formats, yes...

https://www.imagemagick.org/script/formats.php#supported

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848059</commentid>
    <comment_count>32</comment_count>
    <who name="Holger">private_lock</who>
    <bug_when>2019-04-01 19:33:12 +0000</bug_when>
    <thetext>@Gilles

I love that suggestion, as it will also solve the long-standing SVG issue: bug 336436

Hope I&apos;m not the april fool now!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848107</commentid>
    <comment_count>33</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-04-02 06:12:08 +0000</bug_when>
    <thetext>That used to be the way Krita imported/exported images. It was not a huge success, and we moved away to using libpng etc. directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848120</commentid>
    <comment_count>34</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-04-02 07:50:05 +0000</bug_when>
    <thetext>ImageMagick C++ API have been a problem ? Which one exactly ? The IM C++ exception no compatible with Qt ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848121</commentid>
    <comment_count>35</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-04-02 07:58:59 +0000</bug_when>
    <thetext>The ImageMagick API&apos;s are very unstable: there is no guarantee of source compatibility between versions. That&apos;s why GraphicsMagick was created back in the days, but that fell behind. It was a huge maintenance burden and mess. It would be much better to just check what ImageMagick has done in their XCF filter and try to port it to kimageformats. It cannot be that hard...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848122</commentid>
    <comment_count>36</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2019-04-02 08:03:07 +0000</bug_when>
    <thetext>Ah yes, i hear about the IM vs GM story.

IM XCF codec is here :

https://github.com/ImageMagick/ImageMagick/blob/master/coders/xcf.c

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848241</commentid>
    <comment_count>37</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2019-04-02 20:35:53 +0000</bug_when>
    <thetext>(In reply to Boudewijn Rempt from comment #35)
&gt; The ImageMagick API&apos;s are very unstable: there is no guarantee of source
&gt; compatibility between versions. 
In this case, why 91 softwares (see Arch IM page) depend on ImageMagick?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848244</commentid>
    <comment_count>38</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-04-02 20:53:39 +0000</bug_when>
    <thetext>Either they don&apos;t care, or they have the manpower to follow the api changes, or whatever. I&apos;m not here to argue with you: I give you the benefit of my experience with ImageMagick, but if you want to come up with a patch that rewrites kimageformats to use ImageMagick, well, we&apos;ll see.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848245</commentid>
    <comment_count>39</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-04-02 20:57:13 +0000</bug_when>
    <thetext>Packages depend on the ImageMagick binary, not the libraries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848315</commentid>
    <comment_count>40</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2019-04-03 09:42:31 +0000</bug_when>
    <thetext>@Christoph Feck 
Libmagick is required by 16 Arch package, whose ImageMagick, Transcode, Cuneiform, Sk1, Converseen... 
https://www.archlinux.org/packages/extra/x86_64/libmagick/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848396</commentid>
    <comment_count>41</comment_count>
    <who name="Holger">private_lock</who>
    <bug_when>2019-04-03 16:44:40 +0000</bug_when>
    <thetext>(In reply to Boudewijn Rempt from comment #33)
&gt; That used to be the way Krita imported/exported images. It was not a huge
&gt; success, and we moved away to using libpng etc. directly.

But libpng is png only, right? OTH Krita has xcf support ... so how does Krita do it? Are they also using KImageFormats? Are they using selfwritten code? Is Krita already compatible with 2.9 and 2.10 of Gimp?

Looking at the impressive long list of supported fileformats, I&apos;d say it could still be worthwhile to follow ImageMagick despite API changes ... I mean, how often do they overthrow it? Maybe they also learned from last time, that their changes were met with mixed reactions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848397</commentid>
    <comment_count>42</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-04-03 16:54:55 +0000</bug_when>
    <thetext>No, kimageformats (and qimagio) is only suitable as a fallback for formats we haven&apos;t implemented yet, it&apos;s not possible to offer image format specific options for export, or multiple layers of different kinds for import.

For xcf we use xcftools, the first &quot;library&quot; created for loading xcf files (not saving), which stopped being maintainted donkeys years ago.

In fact, the gimp people a) are of the opinion that nothing bug gimp should load or save xcf since it&apos;s their internal format and b) don&apos;t want to add a rendered image somewhere in the xcf file like Photoshop or Krita does, because that would take extra space and c) don&apos;t want to document their format other than in the source code, because of a).

Porting kimageformats to ImageMagick would be more work than just fixing the xcf filter, I&apos;m pretty sure of that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882268</commentid>
    <comment_count>43</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-09-25 20:37:56 +0000</bug_when>
    <thetext>*** Bug 412339 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882274</commentid>
    <comment_count>44</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2019-09-25 20:58:50 +0000</bug_when>
    <thetext>Hi
I posted here a bug report to Gimp Team about Gimp 2.10 XCF support
https://gitlab.gnome.org/GNOME/gimp/issues/3990

This is a copy:

GIMP version: 2.10.12
Operating System: Arch Linux and all others
Is the issue reproducible? : Always
Hi
The facts: at this time, Gimp 2.10 XCF files can be only loaded by Gimp (to be written by another application is not the subject here)
Except Gimp 2.10, none application is able to display Gimp 2.10 XCF multi-layers thumbnails.
Digikam, Gthumb, Nautilus, Thunar, Pcmanfm, Gwenview, Geeqie, etc, none of them can display XCF thumbnails
It has changed since 2.9 version. Before, other graphic applications could display &lt;= 2.8 Gimp version XCF thumbnails.
Why this changing behaviour? It&apos;s a big problem for users and others apps developers.
This issue doesn&apos;t come from others softwares developers incompetence.
It comes from the fact that Gimp 2.10 code cannot be used inside other graphic softwares.
I imagine they could, in an other world, do a kind of &quot;reverse engineering&quot; but that would be a strange thing in a Free Software / Open Source world.
Personally, I use Gimp and Digikam. As i explain above, since 2.9 Gimp version, I can&apos;t see XCF thumbnails in Digikam.
I have to convert Gimp 2.10 XCF files to proprietary Adobe format, .psd, to see them. It may sound strange in the Linux world but, sadly, it&apos;s the reality....
Gimp is an extraordinary, irreplaceable software but, I regret to announce here that Gimp 2.10 XCF format looks like a closed format. On paper, the code is open but, in facts, it is unusable in other projects, just like a closed code.
All open source file formats offer a library to handle the data inside. Why not Gimp ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882311</commentid>
    <comment_count>45</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-09-26 07:40:42 +0000</bug_when>
    <thetext>Git commit a94d1a85fe205de4d9ca6bbdd3e48f423d3e4164 by Boudewijn Rempt.
Committed on 26/09/2019 at 07:39.
Pushed by rempt into branch &apos;master&apos;.

Fix clearing the recent files from the welcome screen

M  +1    -1    libs/ui/KisMainWindow.cpp
M  +7    -6    libs/ui/KisMainWindow.h
M  +1    -6    libs/ui/KisWelcomePageWidget.cpp
M  +0    -2    libs/ui/KisWelcomePageWidget.h

https://invent.kde.org/kde/krita/commit/a94d1a85fe205de4d9ca6bbdd3e48f423d3e4164</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882314</commentid>
    <comment_count>46</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-09-26 07:45:38 +0000</bug_when>
    <thetext>Oops, sorry for the noise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968119</commentid>
    <comment_count>47</comment_count>
    <who name="Gary Wang">wzc782970009</who>
    <bug_when>2020-10-25 17:02:49 +0000</bug_when>
    <thetext>Seems resolved in https://invent.kde.org/frameworks/kimageformats/-/commit/c60e77c048d32ccf743cec695743b77b2b25dc87 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968128</commentid>
    <comment_count>48</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2020-10-25 17:18:54 +0000</bug_when>
    <thetext>Yes, looks like it. Let&apos;s close this ticket.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>