Encode an image to the PNG format.
List<int> encodePng(Image image, {int level = 6}) => PngEncoder(level: level).encodeImage(image);