Thumbnail view in 'Files' can't see .webp images

In the ubuntu files browser 'Files' I can set the default viewer for a given filetype (right-click->properties->open with) - but is there a way to get Files itself to show thumbnails for .webp images (which eg imagmagick, cv2 and gimp all seem to handle) ? It does this e.g. for .jpg with no problem.


Apparently our GTK linux desktops in 2022 do not support thumbnailing of webp images out of the box, even though the Google developed image format is now quite common on the web. That could be due to compatibility issues between licensing or other reasons. Still, the default Gnome viewer, eog, supports webp out of the box.

It can be added to a linux system, though. A procedure is outlined on Linux Uprising (1 september 2021) or FOSSTips (around 14 Oktober). While the needed software is available from the software centers in Fedora, Arch linux and OpenSuse, surprisingly, it has to be compiled on Debian derived systems. However, It's Foss (September 23, 2021) refers to a third party PPA from which the software can be installed.

So there is a way, but for now it is less trivial to add the support in Ubuntu.