toPng/toJpeg -> toPNG/toJPEG
This commit is contained in:
parent
56b3478760
commit
e9222583cb
2 changed files with 8 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue