imageFromUint8List method

Future<Image> imageFromUint8List(
  1. Uint8List bytes
)

Implementation

Future<Image> imageFromUint8List(Uint8List bytes) async{
  var codec = await instantiateImageCodec(bytes);
  final frameInfo = await codec.getNextFrame();
  return frameInfo.image;
}