Declaration ​
pascal
TDraftResampler = class(TLinearResampler)Description ​
TDraftResampler optimizes bitmap downscaling by averaging source pixel blocks, falling back to TLinearResampler when upscaling.
The downscaling result is better than nearest neighbor interpolation, but not quite as good as linear resampling.
TIP
Downsampling with TDraftResampler is commonly used for fast generation of low quality thumbnail images.
It can also be used to provide a quick temporary preview result during interactive resampling.