resize

external fun resize(options: ResizeOptions): NativeImage(source)

The resized image.

If only the height or the width are specified then the current aspect ratio will be preserved in the resized image.