Matrix.PixelResample Method

void PixelResample(TMtx Dst, Rectangle ZoomRect, TPixelDownSample mode)

Allows to exactly specify the size of the destination matrix with PixelsHeight and PixelsWidth parameters.

#NameTypeDescription
1DstTMtxsource TMtx
2ZoomRectRectangle
3modeTPixelDownSample

Result: stored in self (calling object)

Remarks:

The source matrix can be bigger or smaller than the destination.