maxWidth/maxHeight not working with aspectRatio
anisabboud opened this issue · 0 comments
anisabboud commented
Hello and thank you for this nice library.
I noticed that setting maxWidth/maxHeight and aspectRatio together doesn't work.
The image is cropped to the requested aspect ratio, but not shrunk to the specified width/height.
Specifying only one works (only aspectRatio => image cropped, only maxWidth/maxHeight => image shrunk).
Is that the intended behavior or a bug?