From 5f937e8d9f694026930f8edd56114559260a227a Mon Sep 17 00:00:00 2001 From: Hans Kristian Flaatten Date: Sat, 6 Jun 2015 16:54:46 +0200 Subject: [PATCH] Format default values of output option --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0484520..b08cbc1 100644 --- a/README.md +++ b/README.md @@ -34,15 +34,15 @@ Resize a given source `image` into several `versions`. * **integer** `height` - image pixel height * **string** `path` - complete path to source image * **object** `output` - image resize output config - * **object[]** `versions` - Array of version objects - * **string** `suffix` - suffix for the resized image (ex. "-small") + * **object[]** `versions` - array of version objects + * **string** `suffix` - suffix for the resized image (ex. `-small`) * **integer** `maxWidth` - max width for resized image * **integer** `maxHeight` - max height for resized image - * **integer** `quality` - quality for resized image - * **string** `ratio` - force aspectratio on resized image (ex. "4:3") + * **integer** `quality` - quality for resized image (default `80`) + * **string** `ratio` - force aspectratio on resized image (ex. `4:3`) * **boolean** `flatten` - used in conjunction with background - * **string** `background` - set background to transparent image - * **string** `format` - image format for resized image (ex. "png") + * **string** `background` - set background to transparent image (ex. `red`) + * **string** `format` - image format for resized image (ex. `png`) * **function** `cb` - callback function (**Error** `error`, **object[]** `versions`) * **Error** `error` - error output if command failed * **object[]** `versions` - resized image versions