decodePng function

Image decodePng (
  1. List<int> bytes
)

Decode a PNG formatted image.

Implementation

Image decodePng(List<int> bytes) {
  return PngDecoder().decodeImage(bytes);
}