4

Use webp like this

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

webp is ok. but animated webp can not decode bitmap.

qluan
  • 94
  • 6

0 Answers0