ScaleImage
The ScaleImage function is used for resizing of a digital image.
Syntax :
ScaleImage(Image,Width,Height,[Image Format])
Parameters | Description |
---|---|
Image | Image that needs to be resized. |
width | Integer, width of an image. |
height | Integer, height of an image. |
Image Format | Optional. Formatting on image. |
Example :
ScaleImage(TestImage.jpeg,40,-10,["-trim"])
Here the image is resized into :
- 40 : Increase the width sizing to 40.
- -10 : Reduce the height sizing to -10.
- -trim : crop the white space around the image.