#AVIF support in Tauri apps

9 messages · Page 1 of 1 (latest)

pliant mica
#

IIUC, Tauri uses webviews to display app content. The browser used in the webview depends on the operating system. On Windows, is Edge the webview browser? If this is the case, I'm not sure if/how I can use AVIF images in my app (according to caniuse.com, Edge is the only major browser that doesn't support AVIF). Is there an easy workaround for this?

cosmic sky
#

tauri uses webview2 check avif compatibility for webview2

pliant mica
#

are there any known workarounds for this? or do I just have to use WEBP?

pliant mica
#

Yeah, I'm planning to go with that

granite shoal
#

avif is better but not quite there in terms of browser support

pliant mica
#

It's just Edge holding things back. If I were doing a traditional webapp then I could make do with a <picture> element. but it's not too big of a deal in the grand scheme of things

granite shoal
#

welp, good luck