TIEGlobalSettings.WebPEngine
Declaration
property WebPEngine: TIEImagingEngine;
Description
Specifies which engine is used to load and save WebP images.
Property | Description | 32bit Requirement | 64bit Requirement |
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) | Skia enabled in Project | Skia enabled in Project |
ieenDLL | Uses the WebP DLL | iewebp32.dll | iewebp64.dll |
ieenWIC | Uses the WIC API (Windows Imaging Component) - Read-Only! | Always Supported | Always Supported |
ieenLegacy | Uses the ImageMagick Plug-in | ImageMagick DLLs | ImageMagick DLLs |
ieenNone | Format is unavailable | - | - |
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 specify a path by calling
RegisterPlugins)
◼ieenNative and ieenWIC are not supported for saving
◼You can get the active engine using
ActiveWebPEngine, and the status of all imaging engines using
ImageEnVersion.Status
Default: ieenAuto (which uses ieenDLL if the
WebP DLL is available, otherwise ieenLegacy (if ImageMagick is available), ieenNative (if Skia is available) or ieenWIC
// Use the WebP DLL to create save files
IEGlobalSettings().WebPEngine := ieenDLL;
See Also
◼ActiveWebPEngine