ResizeOptions

external interface ResizeOptions(source)

Properties

Link copied to clipboard
abstract var height: Double?

Defaults to the image's height.

Link copied to clipboard

The desired quality of the resize image. Possible values include good, better, or best. The default is best. These values express a desired quality/speed tradeoff. They are translated into an algorithm-specific method that depends on the capabilities (CPU, GPU) of the underlying platform. It is possible for all three methods to be mapped to the same algorithm on a given platform.

Link copied to clipboard
abstract var width: Double?

Defaults to the image's width.