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)`
|
||||
|
||||
* `options` Object
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `width` Integer (optional)
|
||||
* `height` Integer (optional)
|
||||
* `quality` String (optional) - The desired quality of the resize image.
|
||||
Possible values are `good`, `better` or `best`. The default is `best`.
|
||||
These values express a desired quality/speed tradeoff. They are translated
|
||||
|
|
Loading…
Reference in a new issue