encodeTga function

List<int> encodeTga (
  1. Image image
)

Encode an image to the Targa format.

Implementation

List<int> encodeTga(Image image) {
  return TgaEncoder().encodeImage(image);
}