Previous Topic

Next Topic

Book Contents

Book Index

GuessImageFormatStrict

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 http:// or file:// URL in this parameter


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

See Also

Functions

Identification functions

ImportImage

ImportImageAsResource

AttachImage

ProcessImage

GetImageDimension

GetImageFromClipboard

GetTIFFFrameCount

GuessImageFormat