Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Package FreeImageAPI.Plugins

Classes

class  FreeImagePlugin
 Class representing a FreeImage format. More...
 
class  LocalPlugin
 Class representing own FreeImage-Plugins. More...
 
struct  Plugin
 The structure contains functionpointers that make up a FreeImage plugin. More...
 
class  PluginRepository
 Class representing all registered FreeImageAPI.Plugins.FreeImagePlugin in FreeImage. More...
 

Functions

delegate string FormatProc ()
 Delegate to a function that returns a string which describes the plugins format. More...
 
delegate string DescriptionProc ()
 Delegate to a function that returns a string which contains a more detailed description. More...
 
delegate string ExtensionListProc ()
 Delegate to a function that returns a comma seperated list of file extensions the plugin can read or write. More...
 
delegate string RegExprProc ()
 Delegate to a function that returns a regular expression that can be used to idientify whether a file can be handled by the plugin. More...
 
delegate IntPtr OpenProc (ref FreeImageIO io, fi_handle handle, bool read)
 Delegate to a function that opens a file. More...
 
delegate void CloseProc (ref FreeImageIO io, fi_handle handle, IntPtr data)
 Delegate to a function that closes a previosly opened file. More...
 
delegate int PageCountProc (ref FreeImageIO io, fi_handle handle, IntPtr data)
 Delegate to a function that returns the number of pages of a multipage bitmap if the plugin is capable of handling multipage bitmaps. More...
 
delegate int PageCapabilityProc (ref FreeImageIO io, fi_handle handle, IntPtr data)
 UNKNOWN More...
 
delegate FIBITMAP LoadProc (ref FreeImageIO io, fi_handle handle, int page, int flags, IntPtr data)
 Delegate to a function that loads and decodes a bitmap into memory. More...
 
delegate bool SaveProc (ref FreeImageIO io, FIBITMAP dib, fi_handle handle, int page, int flags, IntPtr data)
 Delegate to a function that saves a bitmap. More...
 
delegate bool ValidateProc (ref FreeImageIO io, fi_handle handle)
 Delegate to a function that determines whether the source defined by

Parameters
ioand
Parameters
handleis a valid image.
More...
 
delegate string MimeProc ()
 Delegate to a function that returns a string which contains the plugin's mime type. More...
 
delegate bool SupportsExportBPPProc (int bpp)
 Delegate to a function that returns whether the plugin can handle the specified color depth. More...
 
delegate bool SupportsExportTypeProc (FREE_IMAGE_TYPE type)
 Delegate to a function that returns whether the plugin can handle the specified image type. More...
 
delegate bool SupportsICCProfilesProc ()
 Delegate to a function that returns whether the plugin can handle ICC-Profiles. More...
 
delegate void InitProc (ref Plugin plugin, int format_id)
 Callback function used by FreeImage to register plugins. More...
 

Function Documentation

delegate void FreeImageAPI.Plugins.CloseProc ( ref FreeImageIO  io,
fi_handle  handle,
IntPtr  data 
)

Delegate to a function that closes a previosly opened file.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate string FreeImageAPI.Plugins.DescriptionProc ( )

Delegate to a function that returns a string which contains a more detailed description.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate string FreeImageAPI.Plugins.ExtensionListProc ( )

Delegate to a function that returns a comma seperated list of file extensions the plugin can read or write.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate string FreeImageAPI.Plugins.FormatProc ( )

Delegate to a function that returns a string which describes the plugins format.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate void FreeImageAPI.Plugins.InitProc ( ref Plugin  plugin,
int  format_id 
)

Callback function used by FreeImage to register plugins.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate FIBITMAP FreeImageAPI.Plugins.LoadProc ( ref FreeImageIO  io,
fi_handle  handle,
int  page,
int  flags,
IntPtr  data 
)

Delegate to a function that loads and decodes a bitmap into memory.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate string FreeImageAPI.Plugins.MimeProc ( )

Delegate to a function that returns a string which contains the plugin's mime type.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate IntPtr FreeImageAPI.Plugins.OpenProc ( ref FreeImageIO  io,
fi_handle  handle,
bool  read 
)

Delegate to a function that opens a file.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate int FreeImageAPI.Plugins.PageCapabilityProc ( ref FreeImageIO  io,
fi_handle  handle,
IntPtr  data 
)
delegate int FreeImageAPI.Plugins.PageCountProc ( ref FreeImageIO  io,
fi_handle  handle,
IntPtr  data 
)

Delegate to a function that returns the number of pages of a multipage bitmap if the plugin is capable of handling multipage bitmaps.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate string FreeImageAPI.Plugins.RegExprProc ( )

Delegate to a function that returns a regular expression that can be used to idientify whether a file can be handled by the plugin.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate bool FreeImageAPI.Plugins.SaveProc ( ref FreeImageIO  io,
FIBITMAP  dib,
fi_handle  handle,
int  page,
int  flags,
IntPtr  data 
)

Delegate to a function that saves a bitmap.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate bool FreeImageAPI.Plugins.SupportsExportBPPProc ( int  bpp)

Delegate to a function that returns whether the plugin can handle the specified color depth.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate bool FreeImageAPI.Plugins.SupportsExportTypeProc ( FREE_IMAGE_TYPE  type)

Delegate to a function that returns whether the plugin can handle the specified image type.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate bool FreeImageAPI.Plugins.SupportsICCProfilesProc ( )

Delegate to a function that returns whether the plugin can handle ICC-Profiles.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().

delegate bool FreeImageAPI.Plugins.ValidateProc ( ref FreeImageIO  io,
fi_handle  handle 
)

Delegate to a function that determines whether the source defined by

Parameters
ioand
Parameters
handleis a valid image.

Referenced by FreeImageAPI.Plugins.LocalPlugin.LocalPlugin().