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 ?
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com