Declarationfunction LoadFromStreamTGA(Stream: TStream): Boolean;
Loads an image from a stream containing a TGA file. The result will be false if an error is encountered, e.g. the file in the stream is not TGA format (Aborting
will be true).
- You can abort loading by setting Aborting
- LoadFromStreamTGA does not reset the position of the stream, so you may need to first call Stream.Position := 0;