xCreateThumbnails_FromVideoURL method

Future<Uint8List?> xCreateThumbnails_FromVideoURL(
  1. String blobURL
)

Implementation

Future<Uint8List?> xCreateThumbnails_FromVideoURL(String blobURL) async {
  var x = await thumb.VideoThumbnail.thumbnailData(
    video: blobURL,
    imageFormat: thumb.ImageFormat.PNG,
    maxWidth: 128, // specify the width of the thumbnail, let the height auto-scaled to keep the source aspect ratio
    quality: 25,
  );
  return x;
}