FreeImage.RegisterExternalPlugin Method

FreeImage.NET

FreeImageRegisterExternalPlugin Method
Registers a new plugin to be used in FreeImage. The plugin is residing in a DLL. The Init function must be called “Init” and must use the stdcall calling convention.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FREE_IMAGE_FORMAT RegisterExternalPlugin(
	string path,
	string format,
	string description,
	string extension,
	string regexpr
)

Parameters

path
Type: SystemString
Complete path to the dll file hosting 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_FORMAT
The format idientifier assigned by FreeImage.
See Also