add documentation for changes

This commit is contained in:
Heilig Benedek 2016-08-01 02:14:45 +02:00
parent 7a471e1ab7
commit 2b05be64b4
2 changed files with 13 additions and 3 deletions

View file

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