Resize

The Resize function performs a stretching (reducing or enlarging) of the data corresponding to a rectangle of pixels from the active image into a inactive image.

Resize nXDest, nYDest, nWidthDest, nHeightDest, nXSrc, nYSrc, nWidthSrc, nHeightSrc[, nMethod]

Parameters

nXDest
Specifies the logical x-coordinate of the upper-left corner of the destination rectangle.

nYDest
Specifies the logical y-coordinate of the upper-left corner of the destination rectangle.

nWidthDest
Specifies the logical width of the destination rectangle.

nHeightDest
Specifies the logical height of the destination rectangle.

nXSrc
Specifies the logical x-coordinate of the upper-left corner of the source rectangle.

nYSrc
Specifies the logical y-coordinate of the upper-left corner of the source rectangle.

nWidthSrc
Specifies the logical width of the source rectangle.

nHeightSrc
Specifies the logical height of the source rectangle.

nMethod
Optional. Specifies the type of resizing. The possible in the current version values are 1,2,3,4
The value 1 define more fast but less accurate conversion. The type 4 is slowest but more accorate. The default value is 3.

Remarks

The "active image" means the image currently selected by SelectClipboard calling.
This function is obsolete. Instead, use the Stretch function. It provides better image processing quality and preformance.