Summary: | Cannot open GIMP XCF files especially when color depth is higher than 8 bits | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kimageformats | Reporter: | Syv <digikam> |
Component: | general | Assignee: | Alex Merry <alex.merry> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aacid, caulier.gilles, dnovomesky, kdelibs-bugs, martin.sandsmark, nate |
Priority: | NOR | ||
Version: | 5.82.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: |
Description
Syv
2021-05-26 17:25:49 UTC
That file has two features we don't support: * It identifies itself as version 12 and we fail if version > 11 * It has a layer of type RGB_GIMAGE with bpp 6 and we only support RGB_GIMAGE layers of bpp3 I stopped debugging there, needs someone to put some time into it. Martin you did the last big-ish refactor in the XCF loader, fancy having a go? Or maybe you Daniel? FWIW https://gitlab.gnome.org/GNOME/gimp/-/blob/master/devel-docs/xcf.txt has a relatively good description of the format There are more things to do. I tried to save some XCF files from development GIMP 2.99.7 When option "Save this XCF file with better but slower compression" is selected, kimg_xcf will not load it. We should also load color profile and set it to QImage via QColorSpace class. Hi, I just checked with digiKam 7.8.0 using KF5 5.95, and a XCF file saved with 16 bits as integer do not render a thumbnail in icon view. Best Gilles Caulier |