extractFrames abstract method

Future<Map<int, RawFrame>> extractFrames(
  1. Uint8List bytes,
  2. List<int> sourceFrames, {
  3. required int width,
  4. required int height,
})

Decodes the sourceFrames of bytes to width by height RGBA rasters, each a RawFrame keyed by its source-frame index.

Implementation

Future<Map<int, RawFrame>> extractFrames(
  Uint8List bytes,
  List<int> sourceFrames, {
  required int width,
  required int height,
});