ImageEn, unit iexHelperFunctions

QualityToZoomFilter


Declaration

function QualityToZoomFilter(Quality: TIEQuality): TResampleFilter;


Description

Provide quick access to the most common zoom filters
ieLow : Returns rfNone, no quality filtering is used
ieMedium : Returns rfFastLinear, a good quality but very fast filter
ieHigh : Returns rfLanczos3, a very high quality filter

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Set Quality filter to ComboBox selection (which contains values: Low, Medium and High)
frmMain.ImageEnView1.ZoomFilter := QualityToZoomFilter( cmbQuality.ItemIndex );


See Also

ZoomFilter