encodeTga function Null safety

List<int> encodeTga(
  1. Image image
)

Encode an image to the Targa format.

Implementation

List<int> encodeTga(Image image) => TgaEncoder().encodeImage(image);