moko-resources
moko-resources copied to clipboard
Support to webp
Hello,
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.
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
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
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.