How to encode bitmaps into animated webp file?
I am retrieving bitmaps and delays from animated webp file and resizing it then I want to encode them into animated Webp file again.
How can I achieve that?
try{
val source_file:File = File(src)
val drawable = GlideApp.with(context).load(source_file).skipMemoryCache(true)
.diskCacheStrategy(DiskCacheStrategy.NONE)
.submit().get() as WebpDrawable
drawable.constantState
val state =...