This function does all the work of reading a TGA image. It calles the TGAReadHeader, TGAReadImageId, TGAReadColorMap and TGAReadScanlines with the appropriate arguments to perform its task. So in most cases this is the only library function that needs to be called by the user to read an TGA image (besides TGAOpen and TGAClose functions of course). The color map data is read automatically if existing. I suggest using this function instead of the other TGARead* functions.
It returns TGA_OK on success.