TDraftResampler

Hierarchy

TPersistent

   |

TNotifiablePersistent

   |

TCustomSampler

   |

TCustomResampler

   |

TBitmap32Resampler

   |

TLinearResampler

Description

This class implements an algorithm for fast downsampling. The result is better than nearest neighbor interpolation, but it is not quite as good as linear resampling. Fast downsampling is very useful for generation of thumbnail images.

For upsampling the same method is used as in TLinearResampler.

Reference

Fields Methods Properties Events
In TLinearResampler:
Create
Destroy
GetSample
PrepareSampling
In TBitmap32Resampler:
Changed Bitmap
GetSampleBounds PixelAccessMode
HasBounds TransformerClass
In TCustomResampler:
Resample Width
In TCustomSampler:
FinalizeSampling
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
EndUpdate

See Also

Examples, TLinearResampler