Mark width/height as optional
This commit is contained in:
parent
4ffae1d563
commit
4b95f3a462
1 changed files with 2 additions and 2 deletions
|
@ -228,8 +228,8 @@ Returns `NativeImage` - The cropped image.
|
||||||
#### `image.resize(options)`
|
#### `image.resize(options)`
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `width` Integer
|
* `width` Integer (optional)
|
||||||
* `height` Integer
|
* `height` Integer (optional)
|
||||||
* `quality` String (optional) - The desired quality of the resize image.
|
* `quality` String (optional) - The desired quality of the resize image.
|
||||||
Possible values are `good`, `better` or `best`. The default is `best`.
|
Possible values are `good`, `better` or `best`. The default is `best`.
|
||||||
These values express a desired quality/speed tradeoff. They are translated
|
These values express a desired quality/speed tradeoff. They are translated
|
||||||
|
|
Loading…
Reference in a new issue