ImageEn, unit imageenio

TImageEnIO.LoadFromFileJ2K

TImageEnIO.LoadFromFileJ2K


Declaration

function LoadFromFileJ2K(const FileName: WideString): Boolean;


Description

Loads an image from a Jpeg2000 (J2K code stream) file.

FileName is the file name including extension.
Result will be false if the file is not a JPEG2000 (and Aborting will be true). Loading errors due to a file not being available will raise an exception.

Note:
 An optimized JPEG2000 library is used if the IELib or IEVision DLL is available
 You can abort loading by setting Aborting to true