Convert to a PNG image
Future<Uint8List> toPng() async { final img = asImage(); return im.PngEncoder().encode(img); }