mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
424 stars 140 forks source link

avif support in gdk pixbuf #304

Open dufoli opened 2 years ago

dufoli commented 2 years ago

it seems that libavif have a gdk pixbuf module : https://github.com/AOMediaCodec/libavif/pull/182/files https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/76

build libavif with DAVIF_BUILD_GDK_PIXBUF=ON then build gdk-pixbuf then gdk-sharp and format will apear so I guess it is something doable with build chain.

dsoronda commented 1 year ago

This issue can be closed. GTK won't add support for AVIF or WebP as stated here : avif and webp

Just run apt install libavif-gdk-pixbuf in Ubuntu and your GTK# app should be able to open AVIF image (tested and it works).

And for webp run apt install webp-pixbuf-loader