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