FreeImage.NET Class Library Reference
FreeImageGetPrimaryExtensionFromFIF Method |
This function returns the primary (main or most commonly used?) extension of a certain
image format (fif). This is done by returning the first of all possible extensions
returned by GetFIFExtensionList().
That assumes, that the plugin returns the extensions in ordered form.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static string GetPrimaryExtensionFromFIF( FREE_IMAGE_FORMAT fif )
Parameters
- fif
- Type: FreeImageAPIFREE_IMAGE_FORMAT
The image format to obtain the primary extension for.
Return Value
Type: StringThe primary extension of the specified image format.
See Also