you can tell if a file is an image file ?
I need it because when I drop a file the procedure must Know if the file past is a image file or not
On old procedure I made a control on type of extension for some files type
IF UPPER( RIGHT( cFile, 3 ) ) == "JPG" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "BMP" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "PCX" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "GIF" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "TGA" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "RLE" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "PNG" ;
.OR. UPPER( RIGHT( cFile, 3 ) ) == "DIB"
But the type of file image are many and many other
I need all image Freeimage Know
I saw there is a function on Image class
IsImageData( cBuf )
How use it ? or is there a api function to Know it ?