decodeJpg function

Image? decodeJpg(
  1. Uint8List bytes
)

Decode a JPG formatted image.

Implementation

Image? decodeJpg(Uint8List bytes) => JpegDecoder().decode(bytes);