Stretches rectangle in source image to rectangle in destination image with resampling.
procedure StretchResample(const SrcImage: TImageData; SrcX: LongInt; SrcY: LongInt; SrcWidth: LongInt; SrcHeight: LongInt; var DstImage: TImageData; DstX: LongInt; DstY: LongInt; DstWidth: LongInt; DstHeight: LongInt; Filter: TFilterFunction; Radius: Single; WrapEdges: Boolean = False); overload;
ImagingFormats (at line 101)
You can use custom sampling function and filter radius. Set WrapEdges to True for seamlessly tileable images. SrcImage and DstImage must be in the same data format. Works for all data formats except special and indexed formats.