Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?width, ?height, ?quality)

Full Usage: Options(?width, ?height, ?quality)

Parameters:
    ?width : int - Defaults to the image's width.
    ?height : int - Defaults to the image's height.
    ?quality : Quality - 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.

Returns: Options
?width : int

Defaults to the image's width.

?height : int

Defaults to the image's height.

?quality : Quality

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.

Returns: Options

Instance members

Instance member Description

this.height

Full Usage: this.height

Defaults to the image's height.

this.quality

Full Usage: this.quality

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.

this.width

Full Usage: this.width

Defaults to the image's width.

Type something to start searching.