Orders FreeImage to analyze the bitmap signature.
Namespace:
FreeImageAPIAssembly: 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.