Resize Data Member Function

Resizes an <Image>. If the <Image> already contains image data, that <Image> data will be scaled to the size specified by 'Width' and 'Height' and copied back to the <Image>. Prefer <ImageResampler> in most cases.

Prototype

int32 Resize( int32 p_nWidth, int32 p_nHeight )

Parameters

Parameter Type Parameter Name Documentation
int32p_nWidthThe new width of the image.
int32p_nHeightThe new height of the image.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.