WebP image files are becoming more and more common on the web. Eye of GNOME (eog) doesn't support it out-of-the-box. Some browsers do, and ImageMagick just installing webp
package (magick
/convert -list format
).
A simple search let you to webp-pixbuf-loader but might be not that easy for beginners.
Reference
Old issue on Bugzilla: Bug 700751 – Support of images in format "WebP" in EOG.
Newer issue on GitLab: Cannot open WebP file.
eog uses GDK-PixBuf, which does not provide support for most formats itself (due to maintainability), but instead has support for formats added by the libraries that actually implement the image format. Currently libwebp, the library in question, does not provide any loader for GDK-PixBuf, but the linked repository (https://github.com/aruiz/webp-pixbuf-loader) provides one.
Downstream on Launchpad on gdk-pixbuf (duplicated on libwebp) and eog.
On Debian
Follow these steps to add support for WebP to Eye of GNOME:
Prebuild
Build on Debian/Ubuntu
Install
Test
Default app for .webp (image/webp internet media type)
From EOG issue eog.desktop doesn't include webp mimetype:
To fix this:
Of course, change
org.gnome.eog.desktop
to whatever you want.See also
These dependent packages should be installed.
then, build and install like this.