ImgResize |
Top Previous Next |
Prototype
ImgResize(intImageHandle, intNewWidth, intNewHeight, intBackgroundColor)
Description
Resizes the current image, increasing or decreasing canvas width and height but not scaling the image content.
Parameters
intImageHandle: integer value corresponding to the image handle.
intNewWidth: integer value that specifies the new width in pixels.
intNewHeight: integer value that specifies the new height in pixels.
intBackgroundColor: integer value that specifies the color for new empty background in case of enlargement.
Returned value
None.
Notes
To resize image content also see ImgScale.
Example
// Resize the image ImgResize(_CurrentImage, 1000, 2000, 0); |