# decodeImageFromList function

void decodeImageFromList (Uint8List list, ImageDecoderCallback callback)

Loads a single image frame from a byte array into an Image object.

This is a convenience wrapper around instantiateImageCodec. Prefer using instantiateImageCodec which also supports multi frame images.

## Implementation

    void decodeImageFromList(Uint8List list, ImageDecoderCallback callback) {
      _decodeImageFromListAsync(list, callback);
    }