add documentation for changes
This commit is contained in:
parent
7a471e1ab7
commit
2b05be64b4
2 changed files with 13 additions and 3 deletions
|
@ -152,6 +152,10 @@ Returns a [Buffer][buffer] that contains the image's `PNG` encoded data.
|
|||
|
||||
Returns a [Buffer][buffer] that contains the image's `JPEG` encoded data.
|
||||
|
||||
#### `image.toBitmap()`
|
||||
|
||||
Returns a [Buffer][buffer] that contains the image's raw pixel data.
|
||||
|
||||
#### `image.toDataURL()`
|
||||
|
||||
Returns the data URL of the image.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue