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: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aacid, caulier.gilles, dnovomesky, kdelibs-bugs, martin.sandsmark, mircomir, nate |
Priority: | NOR | ||
Version: | 5.82.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
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 (In reply to caulier.gilles from comment #4) > 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. With the 2013 patches (https://invent.kde.org/frameworks/kimageformats/-/merge_requests/171) the plugin is able to render images with color depth greater than 8 bits. Unfortunately the "attached" image is no longer accessible. Does it work now? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |