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.
Copyright ©2019 Angus Johnson - Image32 ver. 4.0 - Documentation last updated on 20-January-2022