decodeJpg function

Image decodeJpg (
  1. List<int> bytes
)

Decode a JPG formatted image.

Implementation

Image decodeJpg(List<int> bytes) {
  return JpegDecoder().decodeImage(bytes);
}