FileReader::MatchFormat

FileReader::MatchFormat
virtual bool MatchFormat(File* file, UByte* header, UPInt headerSize) const;
Description

MatchFormat verifies the specified file to determine whether it is a TGA image file.

Parameters
Parameters 
Description 
File* file 
Pointer to the file which is verified. 
UByte* header 
The header tag of the file. 
UPInt headerSize 
The size of the buffer which contains the image header data. 
Return Value

A Boolean value of true if the image file is of TGA image format and false otherwise.