pointer that will hold the data (must be large enough)
sln
the first scanline to be read (starts with 0)
n
total number of scanlines to read (starting at sln)
flags
currently only TGA_RGB or TGA_BGR
possible (TGAData)
Description
Returns number of scanlines actually read ( =
n on success). This function
transparently decodes any RLE data. So the returned
data from this functions is always decoded. Use TGAReadImage() instead.