ImageEn, unit iesettings

TIEGlobalSettings.ActiveWebPEngine

TIEGlobalSettings.ActiveWebPEngine


Declaration

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


Description

Returns the engine being used to load or save WebP images.
This is a confirmed value for WebPEngine. If WebPEngine is ieenAuto, ieenDLL will be returned if the WebP 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).


Example

IEGlobalSettings().WebPEngine := ieenAuto;
if IEGlobalSettings().ActiveWebPEngine = ieenDLL then
  ShowMessage('The WebP DLL is being used');


See Also

WebPEngine