twopointone / image-resize-lambda

Image Resizing AWS Lambda using Smartcrop.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resize based on only one dimensions, i.e. 300x, this means resize width to 300 and scale height as per aspect ratio

vikalpj opened this issue · comments

done in #9

With Smart crop size if height is not provided then make it makes it equal to width.

Not passing makes it equal to width or does it scales it keeping the aspect ratio without any restrictions on height?

@rubish It will scale up or down keeping the aspect ratio same. except for the smart crop feature, which always crops in square size when only width is given.