Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(?width, ?height, ?quality)
Parameters:
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
|
Full Usage:
this.height
|
Defaults to the image's height. |
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. |
Full Usage:
this.width
|
Defaults to the image's width. |
fable-electron-docs-api