resizePlatformImage

actual fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)

Android implementation of image resize using Bitmap APIs.

expect fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)

Resizes a platform image to the specified dimensions.

Return

A new resized image

Parameters

image

The source image

width

Target width in pixels

height

Target height in pixels

interpolation

The interpolation method to use

actual fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)
actual fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)
actual fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)

JVM implementation of image resize using Java2D.

actual fun resizePlatformImage(image: PlatformBitmapImage, width: Int, height: Int, interpolation: Interpolation): PlatformBitmapImage(source)