LoadImageAnimFromMemory method
Load image sequence from memory buffer
Implementation
ImageD LoadImageAnimFromMemory(
String fileType,
Uint8List fileData,
) => run(
() => _debugLabels.LoadImageAnimFromMemory(fileType, fileData),
() {
final frames = $.Int$.Ref1();
final image = _flat.LoadImageAnimFromMemory(
$.String$.ValueOrNull(fileType),
$.UnsignedChar$.Array(fileData),
fileData.length,
frames,
);
image.frameCount = frames.value;
return image;
},
);