Description:
The GuessImageFormatStrict will analyze the specified file and determine what kind of image file it is just like GuessImageFormat, but with even more through check.
Also see the import option StrictImageVerification to protect the other import, attach and process functions.
Declaration:
Declare Function GuessImageFormatStrict Lib "VCII2LN.DLL" _
(Byval pstrFilename As String) As Integer
Parameters:
Param |
Description |
pstrFilename |
The full filename of the image to check. Starting from version 1.4 of II2LN you can also specify any |
Returns:
-1 if the image format was not recognized. Otherwise one of the image format codes.
Usage:
Dim iImageFormat as Integer
iImageFormat = GuessImageFormatStrict(strFileName)
The iImageFormat will contain the number indicating the image format
Introduced in version:
1.5.0.1