ImageEn, unit iesettings

TIEGlobalSettings.ActiveHeifEngine

TIEGlobalSettings.ActiveHeifEngine

Declaration

function ActiveHeifEngine(Loading: Boolean = True): TIEImagingEngine;

Description

Returns the engine being used to load or save Heif images.
This is a confirmed value for HeifEngine. If HeifEngine is ieenAuto, ieenDLL will be returned if the LibHeif DLL is available, otherwise ieenLegacy or ieenWIC.
If no method can be found, ieenNone is returned (e.g. when saving and no plug-ins are available).

Note: You can get the status of all imaging engines using ImageEnVersion.Status

Example

IEGlobalSettings().HeifEngine := ieenAuto;
if IEGlobalSettings().ActiveHeifEngine = ieenDLL then
  ShowMessage('The LibHeif DLL is being used');

See Also

HeifEngine