GNOME Bugzilla – Bug 700751
Support of images in format "WebP" in EOG
Last modified: 2021-06-19 08:47:37 UTC
* Note: Don't know if this improvement will in this section in particular, but I commonly use EOG to display my images in GNOME. Recently a friend sent me some WebP images and really I could not open them (in Nautilus recognizes it as a music file). Install a library called "libwebp" and seems not to work (or has another function). The point is that it would be a good idea to EOG (or the GNOME environment in general) support this new format of images. This format is for some time and as a tool open source, would be ideal to have it default to view such images in GNOME. While it is still in development so that Opera Turbo replacement JPEG format. has a promising future. Facebook developers have asked their counterparts in Mozilla Firefox, support this format... well, to use WebP. I guess that it must not be left behind.
(In reply to comment #0) I'm sorry. I have forgotten to put version information. OS: fedora 19 (Rawhide) GNOME: 3.8.2 Thanks
eog doesn't interface directly with image libraries (librsvg and libjpeg being exceptions due to special use cases) but uses GdkPixbuf to handle image en- and decoding. So, when GdkPixbuf receives WebP support (bug 670379), so does eog. The plugin that is proposed for inclusion in the linked bug is also available there: https://github.com/aruiz/webp-pixbuf-loader I think doesn't support all format features yet (no alpha?, no metadata?) but you can view WebP images and apparently also save to WebP in eog with it. But I'll leave this open for now, as there is still some work necessary in eog once GdkPixbuf has support for it, e.g. to have eog launch on doubleclicking WebP pictures.
(In reply to comment #2) OK, Thank You!
*** Bug 740367 has been marked as a duplicate of this bug. ***
Please add support for this format
*** Bug 761020 has been marked as a duplicate of this bug. ***
*** Bug 764468 has been marked as a duplicate of this bug. ***
Only a small update... In the latest version of gnome was added support to export documents in WebP format in simple-scan (libwebp). I guess that adds a new use case for gnome users. On the other hand, ticket Bug 670379 in the product gdk-pixbuf was closed some time ago (I don't understand the reasons). I also noticed that gnome-photos correctly displays the WebP images.
(In reply to Bastián Díaz from comment #8) > On the other hand, ticket Bug 670379 in the product gdk-pixbuf was closed > some time ago (I don't understand the reasons). I also noticed that > gnome-photos correctly displays the WebP images. From my understanding the idea is to ship the loader with libwebp, similar to how librsvg and libopenraw do it. This is to reduce the maintenance overhead on gdk-pixbuf.
Im a little bit confuse. I already had libwebp5 libwebpdemux1 libwebpmux1 (0.4.4-1) and neither nautilus nor EOG seems to use it. I then install webp (seems it just give this commands: dwebp webpmux cwebp vwebp gif2webp) and libwebp-dev packages. No changes. I went to GDK-PixBuf (https://developer.gnome.org/gdk-pixbuf/ and https://github.com/aruiz/webp-pixbuf-loader ) and couldn't found if they have a bug with this issue. Where are things stuck? would be really nice to have nautilus thumbnails preview and EOG WebP support.
(In reply to pabloab777+gnome from comment #10) > Where are things stuck? would be really nice to have nautilus thumbnails > preview and EOG WebP support. See here: https://bugs.chromium.org/p/webp/issues/detail?id=227 Although you could try installing the pixbuf loader from your GitHub link. This should make thumbnailing and display in eog work. In order to have eog open WebP images automatically one has to set it as default app by right clicking an image.
We still suffer this problem with 3.36.3 After installing https://github.com/aruiz/webp-pixbuf-loader eog loads webp images properly... but it is still not added as supported mime type to the .desktop file and, as a consequence, is not offered by default to open those images
since 3.38.0, aruiz/webp-pixbuf-loader does itself offer to open .webp mime-types
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/eog/-/issues/ Thank you for your understanding and your help.