Renamed to encodeJpg, left for backward compatibility.
List<int> writeJpg(Image image, {int quality = 100}) => encodeJpg(image, quality: quality);