decodeWebP function

Image decodeWebP (
  1. List<int> bytes
)

Decode a WebP formatted image (first frame for animations).

Implementation

Image decodeWebP(List<int> bytes) {
  return WebPDecoder().decodeImage(bytes);
}