Description
Resizes an image file by constraining it to a maximum height.
Conserves the ratio of the source image.
Syntax
designer.resizeImageToMaxHeight("FILE SOURCE", HEIGHT);
Parameters
Parameter | Type | Description |
---|---|---|
FILE SOURCE |
String | Filepath to the source file |
HEIGHT |
Integer | Desired height of the image |
Return
This function does not return anything.
Need more help with this?
Don’t hesitate to contact us here.