You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it planned to add support to webp images? It is supported on Android and it allows to have the same image quality than png but with a very important reduction in the file size.
It is possible to enable it in resource ? with an boolean in gradle setup maybe, because with compose mulitplaform we can read webp image format without problem on each platform ?
It is just to enable this extension at the resource ID generation.
Activity
[-]Support to webm[/-][+]Support to webp[/+]avently commentedon May 29, 2024
You can name images as .png and it will work fine on Android.
If you need on desktop, additionally include webp lib from here: https://github.com/haraldk/TwelveMonkeys
avently commentedon May 29, 2024
Turns out, debug build in android works but release build fails on lint step because of wrong extension. So it's not an option, unfortunately
MichaelOliveiraBx commentedon Aug 4, 2024
It is possible to enable it in resource ? with an boolean in gradle setup maybe, because with compose mulitplaform we can read webp image format without problem on each platform ?
It is just to enable this extension at the resource ID generation.