How can I decode animated webp using android 4.0+

Use webp like this

Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.raw.webp);
imageView.setImageBitmap(bitmap);

      

webp is fine. but the animated webp cannot decode the bitmap.

+3


source to share





All Articles