mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
improve docs on toJpeg(quality)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user