ImageEn, unit iexHelperFunctions |
|
TImageEnIOHelper.LoadFromFilePlugIn
Declaration
function LoadFromFilePlugIn(const Filename: string; PlugIn: TIEPlugIn; ImageIndex: Integer = 0): Boolean;
Description
Load an image using an
ImageEn PlugIn even if the type is natively supported by ImageEn.
Returns True if loading was successful, or False on error.
You can specify one of the following for
PlugIn:
◼iepiIELib/iepiIEVision: Loads the image using the
IELib DLL (JPEG, PNG or JPEG2000)
◼iepiPDFium: Loads the image using
PDFium PlugIn
◼iepiImageMagick: Loads the image using
ImageMagick
◼iepiWebP: Loads the image using
LibWebP PlugIn
Note:
◼You must add the iexHelperFunctions unit to your uses clause
◼Raises an exception if the plug-in is not available
// Use ImageMagick to load a TIFF file (that may not be supported by ImageEn the third page of a TIFF stream
ImageEnView1.IO.LoadFromFilePlugIn( 'D:\image.tiff', iepiImageMagick );
See Also
◼LoadFromFilePlugIn
◼TIEMiscPluginsImageMagick