The constructor automatically registeres the plugin in FreeImage. To do this it prepares a FreeImage defined structure with function pointers to the implemented functions or null if not implemented. Before registing the functions they are pinned in memory so the garbage collector can't move them around in memory after we passed there addresses to FreeImage.

Namespace:  FreeImageAPI.Plugins
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public LocalPlugin()
Visual Basic (Declaration)
Public Sub New
Visual C++
public:
LocalPlugin()

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also