toPng/toJpeg -> toPNG/toJPEG

This commit is contained in:
Kevin Sawicki 2016-06-22 15:46:22 -07:00
parent 56b3478760
commit e9222583cb
2 changed files with 8 additions and 5 deletions

View file

@ -127,11 +127,11 @@ Creates a new `nativeImage` instance from `dataURL`.
The following methods are available on instances of `nativeImage`:
### `image.toPng()`
### `image.toPNG()`
Returns a [Buffer][buffer] that contains the image's `PNG` encoded data.
### `image.toJpeg(quality)`
### `image.toJPEG(quality)`
* `quality` Integer (**required**) - Between 0 - 100.