ImageEn, unit iexHelperFunctions

IEResampleFilterToStr


Declaration

function IEResampleFilterToStr(RF: TResampleFilter): string;


Description

Returns a description of the specified ResampleFilter, e.g. rfLanczos3 returns 'Lanczos 3'


Example

// Add all of ImageEn's quality filters to combobox
procedure FillComboWithFilters(aCombo: TCombobox);
var
  rf: TResampleFilter;
begin
  aCombo.Clear;
  for rf := Low( TResampleFilter ) to High( TResampleFilter ) do
    aCombo.Items.Add( IEResampleFilterToStr( rf );
end;