writeJpg function

List<int> writeJpg (
  1. Image image,
  2. {int quality: 100}
)

Renamed to encodeJpg, left for backward compatibility.

Implementation

List<int> writeJpg(Image image, {int quality = 100}) =>
    encodeJpg(image, quality: quality);