This functionality is only available for certain module packages.

scale(Double factor)

This method scales an image object by the specified factor.

scale(Double factor)
Argument Double factor The size of the image is scaled by this factor.
Return value image