TImage32.Resampler

property Resampler: Integer; //read and write


A resampler is needed whenever an image's shape is changed (by scaling, rotating, skewing etc).

The Img32 library provides three resamplers: rNearestResampler, rBiLinearResampler and rBiCubicResampler

There are mulitple resamplers because each has its strengths and weaknesses:
rNearestResampler: "nearest neighbour" is very fast but sacrifices quality.
rBiLinearResampler: "bilinear" is moderately fast but produces very good quality images
rBiLinearResampler: "bicubic" is relatively slow but produces excellent quality images.

rBiLinearResampler is the default resampler.

See Also

Img32.Resamplers