TDraftResampler

Graphics32

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

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

See Also

Resamplers Example, TLinearResampler