Registers a new plugin to be used in FreeImage.

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

Syntax

C#
public static FREE_IMAGE_FORMAT RegisterLocalPlugin(
	InitProc proc_address,
	string format,
	string description,
	string extension,
	string regexpr
)
Visual Basic (Declaration)
Public Shared Function RegisterLocalPlugin ( _
	proc_address As InitProc, _
	format As String, _
	description As String, _
	extension As String, _
	regexpr As String _
) As FREE_IMAGE_FORMAT
Visual C++
public:
static FREE_IMAGE_FORMAT RegisterLocalPlugin(
	InitProc^ proc_address, 
	String^ format, 
	String^ description, 
	String^ extension, 
	String^ regexpr
)

Parameters

proc_address
Type: FreeImageAPI.Plugins..::.InitProc
Pointer to the function that initialises the plugin.
format
Type: System..::.String
A string describing the format of the plugin.
description
Type: System..::.String
A string describing the plugin.
extension
Type: System..::.String
A string witha comma sperated list of extensions. f.e: "pl,pl2,pl4"
regexpr
Type: System..::.String
A regular expression used to identify the bitmap.

Return Value

The format idientifier assigned by FreeImage.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also