ImageEn, unit iesettings

TIEImageEnGlobalSettings.ActiveJPEG2000Engine

TIEImageEnGlobalSettings.ActiveJPEG2000Engine


Declaration

function ActiveJPEG2000Engine(Recheck: Boolean = False): TIEImagingEngine;


Description

Returns the engine being used to load and save JPEG2000 format images.
This will be the same as JPEG2000Engine unless ieenAuto is active, in which case it will return ieenDLL if a DLL is available, otherwise ieenNative in 32bit apps
For performance, checking is only performed at application start up. Set Recheck to true if status may have changed (e.g. a DLL may now be available).


Example

IEGlobalSettings().JPEG2000Engine := ieenAuto;
if IEGlobalSettings().ActiveJPEG2000Engine = ieenNative then
  ShowMessage('Native loading is being used for JPEG2000');


See Also

- JPEG2000Engine