ImageEn, unit iemview

TImageEnMView.ThumbnailDisplayFilter

TImageEnMView.ThumbnailDisplayFilter


Declaration


property ThumbnailDisplayFilter: TResampleFilter;


Description


ThumbnailDisplayFilter specifies a filter to apply when an image (thumbnail) need to be resized for display. Filters improve the quality of the thumbnail, but can slow down the application.
A value of rfNone provides no quality enhancement. Filters such as rfLanczos3 provide excellent quality, but are slower. A typical value is rfFastLinear which improves quality with negligible speed impact.

Notes:
- Unlike ThumbnailResampleFilter, ThumbnailDisplayFilter is used every time the image needs to be displayed
- For black/white images rfFastLinear is always used.

Default: rfNone


Example


// Use high quality thumbnails
ImageEnMView1.ThumbnailDisplayFilter := rfLanczos3;
ImageEnMView1.Repaint;