TGAReadHeader

Name

TGAReadHeader -- read image header

Synopsis

int TGAReadHeader(TGA* tga);

Arguments

tga

pointer to valid TGA structure

Description

TGAReadHeader reads the image header. This function is normally called after TGAOpen and before any other library routine. Use TGAReadImage() instead.

It returns TGA_OK on success.