ImageEn, unit iemview

TImageEnMView.WicFastLoading

TImageEnMView.WicFastLoading


Declaration

property WicFastLoading: boolean;


Description

Enables use of TIEWICReader for loading of JPEG and PNG files. This can greatly improve loading speed compared with native Delphi code.
Although WIC supports BMP, PNG, ICO, JPEG, GIF, TIFF and HDP, WicFastLoading is only used with JPEG (around 3 times faster) and PNG (around 30% faster), because it tends to be slower with TIFF and GIF, and provides no speed benefits with BMP and ICO.
WicFastLoadingis best when you want fastest loading of a full size view of the image.

Note:
 If WicFastLoading is enabled, it will automatically use normal loading for unsupported formats
 WicFastLoading will not be used if thumbnail loading is enabled (EnableLoadEXIFThumbnails or EnableLoadExplorerThumbnails)

Default: False


Engine Performance





Demo

Demo  Demos\Multi\MViewPerformance\Performance.dpr


Example

// Faster filling of a TImageEnMView from a folder
ImageEnMView1.WicFastLoading := True;
ImageEnMView1.FillFromDirectory('D:\Images\');


See Also

 EnableLoadEXIFThumbnails
 EnableLoadExplorerThumbnails
 WicFastLoading