The LocalPlugin type exposes the following members.

Constructors

  NameDescription
LocalPlugin
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.

Methods

  NameDescription
CloseProc
Function that can be implemented.
DescriptionProc
Function that can be implemented.
ExtensionListProc
Function that can be implemented.
Finalize
Releases all resources used by the instance.
(Overrides Object..::.Finalize()()().)
FormatProc
Implementation of FormatProc
GetImplementedMethods
Function that returns a bitfield containing the implemented methods.
LoadProc
Function that can be implemented.
MimeProc
Function that can be implemented.
OpenProc
Function that can be implemented.
PageCapabilityProc
Function that can be implemented.
PageCountProc
Function that can be implemented.
Read
Reads from an unmanaged stream.
ReadByte
Reads a single byte from an unmanaged stream.
RegExprProc
Function that can be implemented.
SaveProc
Function that can be implemented.
Seek
Seeks in an unmanaged stream.
SupportsExportBPPProc
Function that can be implemented.
SupportsExportTypeProc
Function that can be implemented.
SupportsICCProfilesProc
Function that can be implemented.
Tell
Retrieves the position of an unmanaged stream.
ValidateProc
Function that can be implemented.
Write
Writes to an unmanaged stream.
WriteByte
Writes a single byte to an unmanaged stream.

Fields

  NameDescription
format
The format id assiged to the plugin.
implementedMethods
A copy of the functions used to register.
registered
When true the plugin was registered successfully else false.

Properties

  NameDescription
Enabled
Gets or sets if the plugin is enabled.
Format
Gets the FREE_IMAGE_FORMAT FreeImage assigned to this plugin.
Registered
Gets if the plugin was registered successfully.

See Also