Both Browser and Mail app can display pictures in webp file format, but if I save thisd to the device the gallery app doesn’t show them (complety invisible = not listed in the picture grid). File Browser app by ichthyosaurus does show the picture too (the downloaded one)…
Is this a bug in gallery app?
I presume it’s not a bug, but no support for those .webp files
Gallery supports picture types: JPEG, PNG, GIF, TIFF, and BMP.
Albeit, its registered for gallery
$ xdg-mime query default "image/webp"
jolla-gallery.desktop
I was going to say it was because it has image/*, but not any longer apparently - now it literally has image/webp. I have a vague recollection that some provider of webp support on openrepos sweet-talked their way into that.
This oddity doesn’t change the fact it is a missing feature though.
I have some vague recollection that support for webp was dependent on some compile flag for ffmpeg. But, that’s probably nonsense.
…but that is about python-imaging, not ffmpeg.
Not sure which library provides image format support for Gallery.
Thanks @nephros ! Yes, that is what I was thinking of.
I did have a crack at some image generation with the app with a name I can’t pronounce. But, I’m better with a pair of scissors and old magazines
Old school. (I did do graphic design and animation professionally for some time, so, I’m biased:)
Actually, Gallery itself does support displaying webp images, which can be easily checked by tapping a webp image in some file manager (e.g. File Browser) and selecting “Open” from the pulley menu, which will open that image in Gallery.
It’s actually only the Gallery’s grid view that doesn’t show thumbnails of webp images, so they cannot be opened this way.
There is qt5-qtimageformats-plugin-webp package that provides webp support for generic Qt use.
However on a quick check tracker-miners doesn’t seem to have an extractor for webp neither in our current version nor in upstream main branch. Thus these files don’t show up on lists of image files on the device.
If someone really wants this, go contribute upstream
Wouldn’t expect even that hard to implement with libwebp, comparing with jpeg support being mostly this src/tracker-extract/tracker-extract-jpeg.c · main · GNOME / LocalSearch · GitLab
excuse my lack of understanding and knowledge
but can you please confirm is there a solution to view webp in gallery? (as i mostly download images from browser while scrolling memes.)
Thank You
If I go through file manager and open a webp image even gallery displays it - but not from the gallery app itself. Perhaps we should bring this up as a bug report or/and in the next community meeting.
I don’t think the meetings should be (ab)used to bring up every little nuisance issue there. A bug report, or if possible PR, is much more appropriate.
And in this specific case it seems to be something upstream (GNOME) should fix, not necessarily Sailfish OS.
I agree as long as its just one single thing like this, but SFOS still has problems with several codecs. Sure, some need to be licensed, some may be driver related, I have my problems to understand the differences why some things work on one device but nit on others.
Gallery has the problem with missing webp images, gifs that are just shown as stills… And Jolla phone can’t play webm but Xperia 10 III does…
It would be nice if the gallery supports WebP. On my desktop Linux machines I am in the process of converting all my screenshots to WebP in order to save tons of space. I wanted to do the same on SFOS but had no idea that in even in 2026, the gallery doesn’t support it yet.
webm, but only with VP8/VP9, not AV1. Even though it’s a royalty free codec. You need to watch out in exactly what format you download YouTube videos.
Also JPEG XL, which recently got supported in all major browsers and in Immich as a thumbnail/preview format.
Sometimes SFOS holds you back if you want your media to work on there.
The Store app Ielig:Image can read/write webp. The next update (living in the QA queue sinces weeks) will have some more formats like avif, jxl, heic, exr, jp2. If wanted I can provide a link to download a rpm.
I am able to access and use WebP files using File Browser by ichthyosaurus . it is supporting these files very well.
Looks like upstream work is done https://gitlab.gnome.org/GNOME/localsearch/-/blob/main/src/extractor/tracker-extract-webp.c
Nice! Been planning on doing updates there but haven’t gotten around to it yet.