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 ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025