resize

expect fun resize(width: Int, height: Int): LiteRtImage

Returns a resized copy of this image.

The original image is not modified.

Return

A new LiteRtImage with the specified dimensions.

Parameters

width

The target image width in pixels.

height

The target image height in pixels.