To get image file type from the extension of image file, just like will get IL_FORMAT_BMP, IL_FORMAT_EPS and so on according to "BMP", "EPS".
int page_get_image_type_from_type_str( LPCSTR lpcszType )
image file type if success, else -1.
EX1
void page_get_image_type_from_type_str_Ex1() { int nRet = page_get_image_type_from_type_str("EPS"); if(IL_FORMAT_EPS == nRet) printf("Get image type success!"); }
origin.h