Open CodeWithMa opened 5 months ago
I did a quick test if to see if adding .webp files to accepted media files list would do the trick, but after successfully loading a .webp graphic it failed to produce any useful image, all I got was full white.
It is probable that making this happen would require making Gdk.Pixbuf (which Flowblade uses to support graphics images) support .webp, and it is almost certain that maintainers of that lib are not willing to do that, there has been even talk of deprecating it.
From this page: https://stackoverflow.com/questions/7704670/what-image-formats-are-supported-by-gdk-pixbuf-gtk-image-by-default I got a list of supported image formats for Gdk.Pixbuf and .webp is not on the list.
ani
bmp
GdkPixdata
gif
icns
ico
jpeg
png
pnm
qtif
svg
tga
tiff
wmf
xbm
xpm
I'll give this one more look later in the cycle, but right now it looks that this can't be done.
SO's commentary dates back to 2011.
Here a comment from devs of gdk-pixbuf: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/103
I've got some images in webp format and I'm tired of converting them to JPEG or PNG just to use them. It would be a huge time-saver if webp support was added.