xCreateThumbnail_FromVideo method

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

Metodo per la creazione di una miniatura da un Video

Implementation

Future<Uint8List?> xCreateThumbnail_FromVideo(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;
}