TImageEnMIO.LoadFromFileWebP
Declaration
function LoadFromFileWebP(const FileName: string): Boolean;
Description
Load a WebP file into the attached
TImageEnMView or
TIEMultiBitmap. Animated WebP files load all frames.
Result will be False if the file is not WebP format (
Aborting will be True). Loading errors due to a file not being available will raise an exception.
Note: Existing content is
not cleared. Call
Clear to remove existing content before loading.
Example
ImageEnMView1.MIO.LoadFromFileWebP( 'D:\Animated.webp' );
See Also
◼LoadFromStreamWebP
◼LoadFromFileWebP
◼WebP_DelayTime