Description

Resizes an image file by constraining it to a maximum width.

Conserves the ratio of the source image.


Syntax

designer.resizeImageToMaxWidth("FILE SOURCE", WIDTH);

Parameters

Parameter Type Description
FILE SOURCE String Filepath to the source file
WIDTH Integer Desired width of the image

Return

This function does not return anything.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.