Orders FreeImage to analyze the bitmap signature.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static FREE_IMAGE_FORMAT GetFileType(
	string filename,
	int size
)
Visual Basic (Declaration)
Public Shared Function GetFileType ( _
	filename As String, _
	size As Integer _
) As FREE_IMAGE_FORMAT
Visual C++
public:
static FREE_IMAGE_FORMAT GetFileType(
	String^ filename, 
	int size
)

Parameters

filename
Type: System..::.String
Name of the file to analyze.
size
Type: System..::.Int32
Reserved parameter - use 0.

Return Value

Type of the bitmap.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also