getThumbnail method

Future<Uint8List?> getThumbnail()

Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail. The returned data can be decoded using BitmapFactory#decodeByteArray(byte[],int,int)

Implementation

Future<Uint8List?> getThumbnail() =>
    channel.invokeMethod<Uint8List>("getThumbnail");