[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #22 from Mirco Miranda --- (In reply to Albert Astals Cid from comment #19) > I didn't mean for this in particular, but for other file formats since there > is defenitely file formats imagemagik supports and we do not. As soon as I have a moment, I'll do some tests on a few formats we're missing. I've used it in the past to create images for our test cases with poor results (in practice, I've always had to use something else). Using imagemagick probably involves switching to an intermediate file type (e.g. PNG)... so, in my opinion, it only makes sense if we have no other option. Up until now, I've limited myself to supporting what Photoshop supports. I already have the code ready to open MTV and Faberfeld images: I was hesitant to include them in KImageFormats given their limited use. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #21 from maderios --- There's new project here: 'This tool is a thumbnailer for XDG desktops. It generates thumbnails for XCF image files (and compressed variants) using GIMP in batch mode. It uses gimp-console when available, otherwise it uses gimp without interface.' https://github.com/illwieckz/gimp-thumbnailer Discussion about XCF thumbnails with Jehan Gimp developer (in french) https://linuxfr.org/news/gimp-3-2-0-est-sorti -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #20 from Albert Astals Cid --- I think at the end of the day the user should be responsible for some of its file format management. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #19 from Albert Astals Cid --- (In reply to Mirco Miranda from comment #18) > (In reply to Albert Astals Cid from comment #17) > > > It's not an ideal solution, but it's better than nothing... > > > > I don't know, i am not convinced, otherwise we could end up just be calling > > imagemagik's convert for all the things? > > Last time I checked It does not support GIMP 3 images. Same for xcftools. I didn't mean for this in particular, but for other file formats since there is defenitely file formats imagemagik supports and we do not. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #17 from Albert Astals Cid --- > It's not an ideal solution, but it's better than nothing... I don't know, i am not convinced, otherwise we could end up just be calling imagemagik's convert for all the things? -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #18 from Mirco Miranda --- (In reply to Albert Astals Cid from comment #17) > > It's not an ideal solution, but it's better than nothing... > > I don't know, i am not convinced, otherwise we could end up just be calling > imagemagik's convert for all the things? Last time I checked It does not support GIMP 3 images. Same for xcftools. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #16 from Mirco Miranda --- I created a script in Gimp 3 to convert the XCF to PNG under Windows. I tested it with jun16-3-color2alpha-bug-fx.xcf and it worked. We could modify the plugin so that, if it fails to load, it tries to run the conversion with gimp-console and then load the PNG file. We already do something similar with the EPS plugin (it uses Ghostscript). Obviously, you need to have GIMP installed. It's not an ideal solution, but it's better than nothing... === START BAT === @echo off title Converting XCF → PNG... set "GIMP_PATH=C:\Users\Programs Files\GIMP 3\bin\gimp-console.exe" :: Process all XCF files in the folder for %%f in (*.xcf) do ( if exist "%%f" ( echo. echo Processing: %%f "%GIMP_PATH%" -i --batch-interpreter=plug-in-script-fu-eval -b "(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE \"%%f\" \"%%f\"))) ) (file-png-export RUN-NONINTERACTIVE image \"%%~nf.png\")) (gimp-quit 0)" if errorlevel 1 ( echo ERROR during conversion of %%f ) else ( echo Converted to: %%~nf.png ) ) ) echo. echo == echo CONVERSION COMPLETED! echo PNG files were created in the same folder of XCF ones. echo == === END BAT === -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #15 from Méven Car --- It seems gnome-xcf-thumbnailer does not support those either. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #14 from Méven Car --- The format is documented at https://testing.developer.gimp.org/core/standards/xcf/ -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 Méven Car changed: What|Removed |Added CC||[email protected] --- Comment #13 from Méven Car --- Trying to show the image with proper debugging revealed: ``` QT_LOGGING_RULES="kf.imageformats.plugins.xcf.debug=true" dolphin kf.imageformats.plugins.xcf: version 22 kf.imageformats.plugins.xcf: Unsupported version 22 kf.imageformats.plugins.xcf: version 22 kf.imageformats.plugins.xcf: Unsupported version 22 kf.kio.gui: PreviewJob subjob had an error: "" kf.imageformats.plugins.xcf: XCF: read called on non-XCF file Looking at the code, the zlib compression is not supported, but should be now more common with recent gimp version. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 nkirk changed: What|Removed |Added CC||[email protected] --- Comment #12 from nkirk --- Gimp 3.0.8 .xcf file thumbnails do not display - same issue with Gimp 3.0.8 .xcf files Dolphin is unable to display the thumbnail graphic SOFTWARE/OS VERSIONS Operating System: Fedora Linux 43 KDE Plasma Version: 6.6.2 KDE Frameworks Version: 6.23.0 Qt Version: 6.10.2 Kernel Version: 6.18.16-200.fc43.x86_64 (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 fch22 changed: What|Removed |Added CC||[email protected] --- Comment #11 from fch22 --- similar problem with GIMP 3.0.6 and digikam 8.8 on Win11 when editing a file with gimp, after savinf the xcf file, thumbnail is no more visible I checked in the layer view , the flag Fx is unset for each layer (and in any case , not able to set it), unless this can be configured somewhere else and "Better compression" seems also unset (refering to comments from maderios) -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #10 from maderios --- (In reply to maderios from comment #1) > Image link here > https://www.dropbox.com/scl/fi/lm0xxqbofilvu65wvh6bp/jun16-3-color2alpha. > xcf?rlkey=mw7blqojtw2zor1hfkc9ewgds&st=cq9dtojo&dl=0 New link now https://www.dropbox.com/scl/fi/lbflec0bnusogjwcbth4o/jun16-3-color2alpha-bug-fx.xcf?rlkey=m6a9ehc9py2f1wxtnbik9cfwn&st=wg7ueri0&dl=0 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 Mirco Miranda changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 --- Comment #9 from Mirco Miranda --- The current implementation of the plugin supports XCF files up to version 12 (GIMP 2.10 without zlib compression support). The plugin rejects all XCF files with versions greater than 12. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #8 from maderios --- (In reply to maderios from comment #7) > I found another reason why KImageformats can't display some Gimp 3 XCF files > inside Digikam > 1) open tif file with Gimp 3. This file is displayed normally by > Kimageformats inside Digikam > 2) convert it to XCF format with Gimp 3 > 3) This file is no more displayed by Kimageformats To know: this issue doesn't happen with png and jpeg files -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 --- Comment #7 from maderios --- I found another reason why KImageformats can't display some Gimp 3 XCF files inside Digikam 1) open tif file with Gimp 3. This file is displayed normally by Kimageformats inside Digikam 2) convert it to XCF format with Gimp 3 3) This file is no more displayed by Kimageformats -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kimageformats] [Bug 491795] KImageformats doesn't display some XCF files created with Gimp 3
https://bugs.kde.org/show_bug.cgi?id=491795 maderios changed: What|Removed |Added Summary|KImageformats git doesn't |KImageformats doesn't |display xcf files from Gimp |display some XCF files |3 |created with Gimp 3 Platform|Compiled Sources|Arch Linux --- Comment #6 from maderios --- I found out why some XCF files/images created with Gimp 3 and later are not displayed in Digikam/KImage formats. Two causes. 1) Gimp V3 introduced "non destructive editing" This "non destructive editing" is not supported by KImageformats: if I uncheck "fx" (see Ofnuts explanations in forum link below) next the layer for images affected with issue, images are displayed normally, but i loose filter effect :( https://www.gimp-forum.net/Thread-Non-destructive-editing-in-Gimp3 https://www.gimp.org/news/2025/06/23/gimp-3-1-2-released/#non-destructive-editing 2) KImageformat can't handle "better compression" (zlib compression, i think) available in saving options. -- You are receiving this mail because: You are watching all bug changes.
