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?
#AVIF support in Tauri apps
9 messages · Page 1 of 1 (latest)
tauri uses webview2 check avif compatibility for webview2
Looks like it's Microsoft Edge webview2, so... I guess not. Pretty disappointing. The latest SO post I could find on this issue was from a few days ago: https://stackoverflow.com/questions/75459594/why-doesnt-edge-support-avif-images
are there any known workarounds for this? or do I just have to use WEBP?
try Webp
Yeah, I'm planning to go with that
avif is better but not quite there in terms of browser support
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
welp, good luck