resize

open override fun resize(image: ImageRef, size: Int): Result<ImageRef>

Resizes the given image to the given size.

Return

Resized image.

Parameters

image

The image to resize

size

Size of the longer side of the image.