Skip to content

Commit

Permalink
Merge 0855e4a into da5deb8
Browse files Browse the repository at this point in the history
  • Loading branch information
mercmobily committed Jan 13, 2018
2 parents da5deb8 + 0855e4a commit 3dd25ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ function ignoreAspectRatio () {
* Do not enlarge the output image if the input image width *or* height are already less than the required dimensions.
* This is equivalent to GraphicsMagick's `>` geometry option:
* "*change the dimensions of the image only if its width or height exceeds the geometry specification*".
* Use with `max()` to preserve the image's aspect ratio.
*
* The default behaviour *before* function call is `false`, meaning the image will be enlarged.
*
Expand Down

0 comments on commit 3dd25ad

Please sign in to comment.