FreeImage.GetFileType Method

FreeImage.NET

FreeImageGetFileType Method
Orders FreeImage to analyze the bitmap signature.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FREE_IMAGE_FORMAT GetFileType(
	string filename,
	int size
)

Parameters

filename
Type: SystemString
Name of the file to analyze.
size
Type: SystemInt32
Reserved parameter - use 0.

Return Value

Type: FREE_IMAGE_FORMAT
Type of the bitmap.
See Also