ImageEn, unit iesettings

TIEImageEnGlobalSettings.ActiveJPEGEngine

TIEImageEnGlobalSettings.ActiveJPEGEngine


Declaration

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


Description

Returns the engine being used to load and save JPEG format images.
This will be the same as JPEGEngine unless ieenAuto is active, in which case it will return ieenDLL if a DLL is available, otherwise ieenNative in 32bit apps or ieenWIC in 64bit 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().JPEGEngine := ieenAuto;
if IEGlobalSettings().ActiveJPEGEngine = ieenNative then
  ShowMessage('Native loading is being used for JPEG');


See Also

- JPEGEngine