[digiKam-users] Digikam .xcf saga

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Digikam .xcf saga

leoutation
Hi
Digikam/Imagemagick still can't display Gimp-2.10 multi-layers .xcf
image but I discover it is able do it with same multi-layers image
Photoshop/.psd converted. I wonder what is specific problem of.xcf
Gimp-2.10 format.

Example
Imagemagick displays only one layer (background)
'display testmader-xcf-1.xcf'
https://framapic.org/HllafkS1cRzQ/6S9iKlwe5exy.xcf
https://framapic.org/HllafkS1cRzQ/6S9iKlwe5exy?dl

Imagemagick displays all five layers
'display testmader-psd-1.psd'
https://framapic.org/Se9UTKcAWIwN/7snhbLnkhfYJ.psd
https://framapic.org/Se9UTKcAWIwN/7snhbLnkhfYJ?dl

testmader-png-1.png
'display testmader-png-1.png'
https://framapic.org/QLQP1LpjPLhs/O0NXUUXKpshP.png
https://framapic.org/QLQP1LpjPLhs/O0NXUUXKpshP?dl

I posted same message here:
https://github.com/ImageMagick/ImageMagick/issues/1544

--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Gilles Caulier-4
Hi,

I see your comment in IM bugzilla entry :


XCF is really the problem, i agree. It's more complicated and not easy to handle. It"s a shame for an open source format !

Best

Gilles Caulier

Le mer. 21 août 2019 à 21:04, <[hidden email]> a écrit :
Hi
Digikam/Imagemagick still can't display Gimp-2.10 multi-layers .xcf
image but I discover it is able do it with same multi-layers image
Photoshop/.psd converted. I wonder what is specific problem of.xcf
Gimp-2.10 format.

Example
Imagemagick displays only one layer (background)
'display testmader-xcf-1.xcf'
https://framapic.org/HllafkS1cRzQ/6S9iKlwe5exy.xcf
https://framapic.org/HllafkS1cRzQ/6S9iKlwe5exy?dl

Imagemagick displays all five layers
'display testmader-psd-1.psd'
https://framapic.org/Se9UTKcAWIwN/7snhbLnkhfYJ.psd
https://framapic.org/Se9UTKcAWIwN/7snhbLnkhfYJ?dl

testmader-png-1.png
'display testmader-png-1.png'
https://framapic.org/QLQP1LpjPLhs/O0NXUUXKpshP.png
https://framapic.org/QLQP1LpjPLhs/O0NXUUXKpshP?dl

I posted same message here:
https://github.com/ImageMagick/ImageMagick/issues/1544

--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/22/19 10:16 AM, Gilles Caulier wrote:
> Hi,
>
> I see your comment in IM bugzilla entry :
>
> https://github.com/ImageMagick/ImageMagick/issues/1544#issuecomment-523386393
>
> XCF is really the problem, i agree. It's more complicated and not easy
> to handle. It"s a shame for an open source format !
>
I tried to find out software that can display Gimp 2.10 XCF format:
except Gimp, none !
To see my work with an other software than Gimp, i have to convert .xcf
open source to .psd photoshop proprietary... :(

--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Hans-Peter huth
On Thu, 22 Aug 2019 10:51:24 +0200
[hidden email] wrote:

> On 8/22/19 10:16 AM, Gilles Caulier wrote:
> > Hi,
> >
...
> >  
> I tried to find out software that can display Gimp 2.10 XCF format:
> except Gimp, none !
> To see my work with an other software than Gimp, i have to convert .xcf
> open source to .psd photoshop proprietary... :(

I believe tumbler (https://docs.xfce.org/xfce/thunar/tumbler) can at least
show thumbnails. Don't know if it uses some other app to generate them.

HP
>
> --
> Greetings
>
> Maderios
>


--
--------- 8< -------------
Why taunt me? Why upbraid me? I am merely a genius, not a god.
(Nero Wolfe)
Meine Bilder: http://jalbum.net/a/1456383
Berge: http://jalbum.net/de/browse/user/album/1823943


Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/22/19 8:47 PM, Hans-Peter wrote:

> On Thu, 22 Aug 2019 10:51:24 +0200
> [hidden email] wrote:
>
>> On 8/22/19 10:16 AM, Gilles Caulier wrote:
>>> Hi,
>>>
> ...
>>>
>> I tried to find out software that can display Gimp 2.10 XCF format:
>> except Gimp, none !
>> To see my work with an other software than Gimp, i have to convert .xcf
>> open source to .psd photoshop proprietary... :(
>
> I believe tumbler (https://docs.xfce.org/xfce/thunar/tumbler) can at least
> show thumbnails. Don't know if it uses some other app to generate them.
>

Great, Tumbler displays multi-layers xcf thumbnails in last Thunar .
It seems it's the only one, except Gimp, that can do it.
https://github.com/xfce-mirror/tumbler
I don't know if it possible to integrate it in Digikam...


--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Gilles Caulier-4
The solution with tumbler is somewhere in one plugin :


..
cover-thumbnailer => ebook
desktop-thumbnailer => desktop files
ffmpeg-thumbnailer => ffmpeg
font-thumbnailer => Fonts
gst-thumbnailer => GStreamer
jpeg-thumbnailer => JPEG
odf-thumbnailer  => libreoffice
pixbuf-thumbnailer => Pixmap ???
poppler-thumbnailer => PDF, PS
raw-thumbnailer => RAW

We already has ffmpeg in digiKam and it do not work

Rest : gstreamer and pixbuf
When you run tumbler on the console, there is some debug statments about XCF processing ?

Gilles Caulier

Le jeu. 22 août 2019 à 21:27, <[hidden email]> a écrit :
On 8/22/19 8:47 PM, Hans-Peter wrote:
> On Thu, 22 Aug 2019 10:51:24 +0200
> [hidden email] wrote:
>
>> On 8/22/19 10:16 AM, Gilles Caulier wrote:
>>> Hi,
>>>
> ...
>>>
>> I tried to find out software that can display Gimp 2.10 XCF format:
>> except Gimp, none !
>> To see my work with an other software than Gimp, i have to convert .xcf
>> open source to .psd photoshop proprietary... :(
>
> I believe tumbler (https://docs.xfce.org/xfce/thunar/tumbler) can at least
> show thumbnails. Don't know if it uses some other app to generate them.
>

Great, Tumbler displays multi-layers xcf thumbnails in last Thunar .
It seems it's the only one, except Gimp, that can do it.
https://github.com/xfce-mirror/tumbler
I don't know if it possible to integrate it in Digikam...


--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/23/19 4:29 AM, Gilles Caulier wrote:

> The solution with tumbler is somewhere in one plugin :
>
> https://github.com/xfce-mirror/tumbler/tree/master/plugins
>
> ..
> cover-thumbnailer => ebook
> desktop-thumbnailer => desktop files
> ffmpeg-thumbnailer => ffmpeg
> font-thumbnailer => Fonts
> gst-thumbnailer => GStreamer
> jpeg-thumbnailer => JPEG
> odf-thumbnailer  => libreoffice
> pixbuf-thumbnailer => Pixmap ???
> poppler-thumbnailer => PDF, PS
> raw-thumbnailer => RAW
>
> We already has ffmpeg in digiKam and it do not work
>
> Rest : gstreamer and pixbuf
> When you run tumbler on the console, there is some debug statments about
> XCF processing ?
No Tumbler executable.
When launching Thunar in console, it displays xcf thumbnails but nothing
about XCF.
I think Tumbler uses gdk-pixbuf2 to display .xcf thumbnails, maybe...

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/tumbler
https://wiki.gnome.org/Projects/GdkPixbuf
https://developer.gnome.org/gdk-pixbuf/unstable//
https://www.archlinux.org/packages/extra/x86_64/gdk-pixbuf2/
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdk-pixbuf2

Executable 'gdk-pixbuf-thumbnailer' in console:
  % gdk-pixbuf-thumbnailer -h
Usage:
   gdk-pixbuf-thumbnailer [OPTION?] [INPUT FILE] [OUTPUT FILE] Thumbnail
images
Help Options:
   -h, --help                        Show help options
Application Options:
   -s, --size                        Size of the thumbnail in pixels
   --g-fatal-warnings                Make all warnings fatal


'gdk-pixbuf-thumbnailer testmader-png-1.png testpng.jpeg'
generates 256x192 pixels image 'testpng.jpeg'
But it fails with .xcf
'gdk-pixbuf-thumbnailer testmader-xcf-1.xcf test.jpeg'

** (gdk-pixbuf-thumbnailer:2132): WARNING **: 11:51:28.037: Could not
thumbnail 'testmader-xcf-1.xcf': Couldn?t recognize the image file
format for file ?/home/fre/Bureau/gimp/test-gimp2.10/testmader-xcf-1.xcf?



>
> Gilles Caulier
>
> Le jeu. 22 août 2019 à 21:27, <[hidden email]
> <mailto:[hidden email]>> a écrit :
>
>     On 8/22/19 8:47 PM, Hans-Peter wrote:
>      > On Thu, 22 Aug 2019 10:51:24 +0200
>      > [hidden email] <mailto:[hidden email]> wrote:
>      >
>      >> On 8/22/19 10:16 AM, Gilles Caulier wrote:
>      >>> Hi,
>      >>>
>      > ...
>      >>>
>      >> I tried to find out software that can display Gimp 2.10 XCF format:
>      >> except Gimp, none !
>      >> To see my work with an other software than Gimp, i have to
>     convert .xcf
>      >> open source to .psd photoshop proprietary... :(
>      >
>      > I believe tumbler (https://docs.xfce.org/xfce/thunar/tumbler) can
>     at least
>      > show thumbnails. Don't know if it uses some other app to generate
>     them.
>      >
>
>     Great, Tumbler displays multi-layers xcf thumbnails in last Thunar .
>     It seems it's the only one, except Gimp, that can do it.
>     https://github.com/xfce-mirror/tumbler
>     I don't know if it possible to integrate it in Digikam...

--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Hans-Peter huth
On Fri, 23 Aug 2019 12:26:09 +0200
[hidden email] wrote:

> On 8/23/19 4:29 AM, Gilles Caulier wrote:
> > The solution with tumbler is somewhere in one plugin :
> >
> > https://github.com/xfce-mirror/tumbler/tree/master/plugins
> >

I also found
https://community.linuxmint.com/software/view/gnome-xcf-thumbnailer
however on my Manjaro this is not installed; instead i found a
/usr/lib/xfce4/xcf-thumbnailer
Don't know where the source comes from, maybe an XFC4 variant of the gnome
thumbnailer.

HP

> > ..
> > cover-thumbnailer => ebook
> > desktop-thumbnailer => desktop files
> > ffmpeg-thumbnailer => ffmpeg
> > font-thumbnailer => Fonts
> > gst-thumbnailer => GStreamer
> > jpeg-thumbnailer => JPEG
> > odf-thumbnailer  => libreoffice
> > pixbuf-thumbnailer => Pixmap ???
> > poppler-thumbnailer => PDF, PS
> > raw-thumbnailer => RAW
> >
> > We already has ffmpeg in digiKam and it do not work
> >
> > Rest : gstreamer and pixbuf
> > When you run tumbler on the console, there is some debug statments about
> > XCF processing ?  
> No Tumbler executable.
> When launching Thunar in console, it displays xcf thumbnails but nothing
> about XCF.
> I think Tumbler uses gdk-pixbuf2 to display .xcf thumbnails, maybe...
>
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/tumbler
> https://wiki.gnome.org/Projects/GdkPixbuf
> https://developer.gnome.org/gdk-pixbuf/unstable//
> https://www.archlinux.org/packages/extra/x86_64/gdk-pixbuf2/
> https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdk-pixbuf2
>
> Executable 'gdk-pixbuf-thumbnailer' in console:
>   % gdk-pixbuf-thumbnailer -h
> Usage:
>    gdk-pixbuf-thumbnailer [OPTION?] [INPUT FILE] [OUTPUT FILE] Thumbnail
> images
> Help Options:
>    -h, --help                        Show help options
> Application Options:
>    -s, --size                        Size of the thumbnail in pixels
>    --g-fatal-warnings                Make all warnings fatal
>
>
> 'gdk-pixbuf-thumbnailer testmader-png-1.png testpng.jpeg'
> generates 256x192 pixels image 'testpng.jpeg'
> But it fails with .xcf
> 'gdk-pixbuf-thumbnailer testmader-xcf-1.xcf test.jpeg'
>
> ** (gdk-pixbuf-thumbnailer:2132): WARNING **: 11:51:28.037: Could not
> thumbnail 'testmader-xcf-1.xcf': Couldn?t recognize the image file
> format for file ?/home/fre/Bureau/gimp/test-gimp2.10/testmader-xcf-1.xcf?
>
>
>
> >
> > Gilles Caulier
> >
> > Le jeu. 22 août 2019 à 21:27, <leoutation-W9aAOI/[hidden email]
> > <mailto:[hidden email]>> a écrit :
> >
> >     On 8/22/19 8:47 PM, Hans-Peter wrote:  
> >      > On Thu, 22 Aug 2019 10:51:24 +0200
> >      > [hidden email]
> >      > <mailto:[hidden email]> wrote:
> >      >> On 8/22/19 10:16 AM, Gilles Caulier wrote:  
> >      >>> Hi,
> >      >>>  
> >      > ...  
> >      >>>  
> >      >> I tried to find out software that can display Gimp 2.10 XCF
> >      >> format: except Gimp, none !
> >      >> To see my work with an other software than Gimp, i have to  
> >     convert .xcf  
> >      >> open source to .psd photoshop proprietary... :(  
> >      >
> >      > I believe tumbler (https://docs.xfce.org/xfce/thunar/tumbler)
> >      > can  
> >     at least  
> >      > show thumbnails. Don't know if it uses some other app to
> >      > generate  
> >     them.  
> >      >  
> >
> >     Great, Tumbler displays multi-layers xcf thumbnails in last Thunar .
> >     It seems it's the only one, except Gimp, that can do it.
> >     https://github.com/xfce-mirror/tumbler
> >     I don't know if it possible to integrate it in Digikam...  
>
> --
> Greetings
>
> Maderios
>


--
--------- 8< -------------
Why taunt me? Why upbraid me? I am merely a genius, not a god.
(Nero Wolfe)
Meine Bilder: http://jalbum.net/a/1456383
Berge: http://jalbum.net/de/browse/user/album/1823943


Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/23/19 7:13 PM, Hans-Peter wrote:

> On Fri, 23 Aug 2019 12:26:09 +0200
> [hidden email] wrote:
>
>> On 8/23/19 4:29 AM, Gilles Caulier wrote:
>>> The solution with tumbler is somewhere in one plugin :
>>>
>>> https://github.com/xfce-mirror/tumbler/tree/master/plugins
>>>
>
> I also found
> https://community.linuxmint.com/software/view/gnome-xcf-thumbnailer
> however on my Manjaro this is not installed; instead i found a
> /usr/lib/xfce4/xcf-thumbnailer
> Don't know where the source comes from, maybe an XFC4 variant of the gnome
> thumbnailer.

It doesnt work with new xcf format (XCF version 11)

--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Hans-Peter huth
On Fri, 23 Aug 2019 19:37:19 +0200
[hidden email] wrote:

> On 8/23/19 7:13 PM, Hans-Peter wrote:
...
> > I also found
> > https://community.linuxmint.com/software/view/gnome-xcf-thumbnailer
> > however on my Manjaro this is not installed; instead i found a
> > /usr/lib/xfce4/xcf-thumbnailer
> > Don't know where the source comes from, maybe an XFC4 variant of the
> > gnome thumbnailer.  
>
> It doesnt work with new xcf format (XCF version 11)

testmader-xcf-1.xcf works here from thunar, but only if the thumbnail
size is not too large. I still try to figure the arguments to call
xcf-thumbnailer directly from command line.

HP
>
> --
> Greetings
>
> Maderios
>


--
--------- 8< -------------
Why taunt me? Why upbraid me? I am merely a genius, not a god.
(Nero Wolfe)
Meine Bilder: http://jalbum.net/a/1456383
Berge: http://jalbum.net/de/browse/user/album/1823943


Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Gilles Caulier-4
Hi all,

I make a test today under Mageia7.1.

digiKam 6.3.0
Kimageformat 5.57
XCF multilayer generated with gimp 2.10.10

==> it work as expected : thumbnail and image editor use the 1st layer.


Note : under Dolphin file manager it render whole layer as flat image, but if thumbnail size is upper 128, the thumbnail is not generated.


Gilles

Le ven. 23 août 2019 à 20:44, Hans-Peter <[hidden email]> a écrit :
On Fri, 23 Aug 2019 19:37:19 +0200
[hidden email] wrote:

> On 8/23/19 7:13 PM, Hans-Peter wrote:
...
> > I also found
> > https://community.linuxmint.com/software/view/gnome-xcf-thumbnailer
> > however on my Manjaro this is not installed; instead i found a
> > /usr/lib/xfce4/xcf-thumbnailer
> > Don't know where the source comes from, maybe an XFC4 variant of the
> > gnome thumbnailer. 
>
> It doesnt work with new xcf format (XCF version 11)

testmader-xcf-1.xcf works here from thunar, but only if the thumbnail
size is not too large. I still try to figure the arguments to call
xcf-thumbnailer directly from command line.

HP
>
> --
> Greetings
>
> Maderios
>


--
--------- 8< -------------
Why taunt me? Why upbraid me? I am merely a genius, not a god.
(Nero Wolfe)
Meine Bilder: http://jalbum.net/a/1456383
Berge: http://jalbum.net/de/browse/user/album/1823943


Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/25/19 12:53 PM, Gilles Caulier wrote:
> Note : under Dolphin file manager it render whole layer as flat image,
> but if thumbnail size is upper 128, the thumbnail is not generated.
>
> https://imgur.com/AH43eNl

Good news.

I don't know how Dolphin 19.08 works without qt5-imageformats and
kimageformats:

To test, I removed them on my system but Dolphin still displays xcf
multilayers images...
--
Greetings

Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Maik Qualmann
No, Dolphin can not create a thumbnail of XCF image. When you save a XCF image
with Gimp, Gimp creates a thumbnail in the XDG thumbnail cache. Dolphin use
the XDG cache. This is probably the reason why other Gnome file managers
display a thumbnail. If you delete the XDG thumbnail cache, no thumbnail will
be displayed.

Maik

Am Sonntag, 25. August 2019, 14:53:22 CEST schrieb [hidden email]:

> On 8/25/19 12:53 PM, Gilles Caulier wrote:
> > Note : under Dolphin file manager it render whole layer as flat image,
> > but if thumbnail size is upper 128, the thumbnail is not generated.
> >
> > https://imgur.com/AH43eNl
>
> Good news.
>
> I don't know how Dolphin 19.08 works without qt5-imageformats and
> kimageformats:
>
> To test, I removed them on my system but Dolphin still displays xcf
> multilayers images...
> --
> Greetings
>
> Maderios




Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

leoutation
On 8/25/19 3:17 PM, Maik Qualmann wrote:
> No, Dolphin can not create a thumbnail of XCF image. When you save a XCF image
> with Gimp, Gimp creates a thumbnail in the XDG thumbnail cache. Dolphin use
> the XDG cache. This is probably the reason why other Gnome file managers
> display a thumbnail. If you delete the XDG thumbnail cache, no thumbnail will
> be displayed.
>
It would be a good thing that Digikam can display .xcf XDG thumbnails :)

--
Maderios
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Jürgen Blumenschein

Really good !!!

Jürgen

Zitat von [hidden email]:

On 8/25/19 3:17 PM, Maik Qualmann wrote:

No, Dolphin can not create a thumbnail of XCF image. When you save a XCF image
with Gimp, Gimp creates a thumbnail in the XDG thumbnail cache. Dolphin use
the XDG cache. This is probably the reason why other Gnome file managers
display a thumbnail. If you delete the XDG thumbnail cache, no thumbnail will
be displayed.

It would be a good thing that Digikam can display .xcf XDG thumbnails :)

--Maderios



Jürgen Blumenschein, eMail: [hidden email]
Homepage: http://members.dokom.net/blumenschein
Am Quartus 17
D-44149 Dortmund
Tel.: +49 231 7217321, Handy: +49 176 5591 4562
public key: http://members.dokom.net/blumenscheinJuergen_Blumenschein_(0xC9358EBB)_public_key.asc
Reply | Threaded
Open this post in threaded view
|

Re: Digikam .xcf saga

Maik Qualmann
In reply to this post by leoutation
It would not bring any benefits to "old" XCF files. Showfoto displays XDG
thumbnails. However, at the moment, Showfoto still uses an old location. I
will change that.

Maik

Am Sonntag, 25. August 2019, 15:24:03 CEST schrieb [hidden email]:

> On 8/25/19 3:17 PM, Maik Qualmann wrote:
> > No, Dolphin can not create a thumbnail of XCF image. When you save a XCF
> > image with Gimp, Gimp creates a thumbnail in the XDG thumbnail cache.
> > Dolphin use the XDG cache. This is probably the reason why other Gnome
> > file managers display a thumbnail. If you delete the XDG thumbnail cache,
> > no thumbnail will be displayed.
>
> It would be a good thing that Digikam can display .xcf XDG thumbnails :)
>
> --
> Maderios