additional tests for createFromBuffer
This commit is contained in:
parent
a609e52a14
commit
7ceb8d1ab8
2 changed files with 14 additions and 1 deletions
|
@ -149,7 +149,8 @@ console.log(image)
|
|||
Returns `NativeImage`
|
||||
|
||||
Creates a new `NativeImage` instance from `buffer`. The default `scaleFactor` is
|
||||
1.0. The `width` and `height` options are **required** for bitmap buffers.
|
||||
1.0. The `width` and `height` options are **required** and only used for bitmap
|
||||
buffers.
|
||||
|
||||
### `nativeImage.createFromDataURL(dataURL)`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue