Encode an image to the JPEG format.
List<int> encodeJpg(Image image, {int quality = 100}) => JpegEncoder(quality: quality).encodeImage(image);