Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add webp Support to Flowblade #1163

Open
CodeWithMa opened this issue Jun 22, 2024 · 2 comments
Open

Feature Request: Add webp Support to Flowblade #1163

CodeWithMa opened this issue Jun 22, 2024 · 2 comments

Comments

@CodeWithMa
Copy link

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.

@jliljebl
Copy link
Owner

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.

@Surfoo
Copy link
Contributor

Surfoo commented Aug 26, 2024

SO's commentary dates back to 2011.

Here a comment from devs of gdk-pixbuf: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants