Merge pull request #2150 from mattdesl/patch-2

improve docs on toJpeg(quality)
This commit is contained in:
Cheng Zhao 2015-07-08 11:10:16 +08:00
commit 2e51afcd9e

View file

@ -114,7 +114,7 @@ Returns a [Buffer][buffer] that contains image's `PNG` encoded data.
### NativeImage.toJpeg(quality)
* `quality` Integer
* `quality` Integer between 0 - 100 (required)
Returns a [Buffer][buffer] that contains image's `JPEG` encoded data.