Browse Source

Mark width/height as optional

Kevin Sawicki 8 years ago
parent
commit
4b95f3a462
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/native-image.md

+ 2 - 2
docs/api/native-image.md

@@ -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