API Reference
Class
TgaReader
Decodes TGA images to RGBA buffers (uncompressed + RLE, true-color/grayscale/color-mapped).
Inheritance
- Object
- TgaReader
Methods
public static Byte[] DecodeRgba32(ReadOnlySpan<Byte> tga, out Int32 width, out Int32 height) #Returns:
Byte[]Decodes a TGA image to an RGBA buffer.
Parameters
- tga System.ReadOnlySpan{System.Byte}
- width System.Int32@
- height System.Int32@