decodeTga function

Image? decodeTga(
  1. List<int> bytes
)

Decode a Targa formatted image.

Implementation

Image? decodeTga(List<int> bytes) => TgaDecoder().decodeImage(bytes);