encodeImage method

  1. @override
List<int> encodeImage(
  1. Image image
)
override

Encode a single frame image.

Implementation

@override
List<int> encodeImage(Image image) {
  isAnimated = false;
  addFrame(image);
  return finish()!;
}