writeTga function Null safety

List<int> writeTga(
  1. Image image
)

Renamed to encodeTga, left for backward compatibility.

Implementation

List<int> writeTga(Image image) => encodeTga(image);