ImageEn, unit iesettings

TIEGlobalSettings.WebPEngine

TIEGlobalSettings.WebPEngine


Declaration

property WebPEngine: TIEImagingEngine;


Description

Specifies which engine is used to load and save WebP images.
Property Description
ieenAuto Automatically chooses ieenDLL if the WebP DLL is found in the EXE folder, otherwise ieenLegacy (if ImageMagick is available), ieenNative (if Skia is available) or ieenWIC
ieenNative Skia is used (Delphi 12 or newer)
ieenDLL Uses the WebP DLL
ieenWIC Uses the WIC API (Windows Imaging Component) - Read-Only!
ieenLegacy Uses the ImageMagick Plug-in
ieenNone Format is not available

Note:
 ieenDLL requires you to ship the WebP with your application
 Skia (ieenNative) requires Delphi 12 or newer. You must add Vcl.Skia to the uses clause (of any of your project units) and enable Skia for your project. VCL Skia support will make your EXE much larger
 With ieenAuto, only the EXE folder is searched for relevant DLLs. For ieenDLL, the system path is also checked (or explicitly call RegisterPlugins)
 ieenNative and ieenWIC are not supported for saving

Default: ieenAuto (which uses ieenDLL if the WebP DLL is available, otherwise ieenLegacy (if ImageMagick is available), ieenNative (if Skia is available) or ieenWIC


Example

// Use the WebP DLL to create save files
IEGlobalSettings().WebPEngine := ieenDLL;


See Also

 ActiveWebPEngine