decodeTga function

Image? decodeTga(
  1. Uint8List bytes,
  2. {int? frame}
)

Decode a TGA formatted image.

Implementation

Image? decodeTga(Uint8List bytes, {int? frame}) =>
    TgaDecoder().decode(bytes, frame: frame);