Skip to content

Commit

Permalink
Format default values of output option
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Jun 6, 2015
1 parent 9fac306 commit 5f937e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f937e8

Please sign in to comment.