FreeImage.NET Class Library Reference
FreeImageRegisterLocalPlugin Method |
Registers a new plugin to be used in FreeImage.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FREE_IMAGE_FORMAT RegisterLocalPlugin( InitProc proc_address, string format, string description, string extension, string regexpr )
Parameters
- proc_address
- Type: FreeImageAPI.PluginsInitProc
Pointer to the function that initialises the plugin. - format
- Type: SystemString
A string describing the format of the plugin. - description
- Type: SystemString
A string describing the plugin. - extension
- Type: SystemString
A string witha comma sperated list of extensions. f.e: "pl,pl2,pl4" - regexpr
- Type: SystemString
A regular expression used to identify the bitmap.
Return Value
Type: FREE_IMAGE_FORMATThe format idientifier assigned by FreeImage.
See Also