stbi_info_from_file
extern int stbi_info_from_file (FILE *f, int *x, int *y, int *comp);
result = stbi_info_from_file(f, x, y, comp);