From 08983e1ba98396af79571e8ec3b03de1497b1430 Mon Sep 17 00:00:00 2001 From: Matt DesLauriers Date: Tue, 7 Jul 2015 20:20:20 -0400 Subject: [PATCH] improve docs on toJpeg(quality) --- docs/api/native-image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/native-image.md b/docs/api/native-image.md index 13477133f344..ed12819d26c4 100644 --- a/docs/api/native-image.md +++ b/docs/api/native-image.md @@ -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.