This function takes a filename or a file-extension and returns the plugin that can
read/write files with that extension in the form of a FREE_IMAGE_FORMAT identifier.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FREE_IMAGE_FORMAT GetFIFFromFilename( string filename ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetFIFFromFilename ( _ filename As String _ ) As FREE_IMAGE_FORMAT |
| Visual C++ |
|---|
public: static FREE_IMAGE_FORMAT GetFIFFromFilename( String^ filename ) |
Parameters
- filename
- Type: System..::.String
The filename or -extension.