stbi_tga_info_from_file
extern int stbi_tga_info_from_file (FILE *f, int *x, int *y, int *comp);
if (stbi_tga_info_from_file(f, x, y, comp))