Reputation: 4854
I'm trying to create an image server that is riapi (https://github.com/riapi/riapi/blob/master/level-1.md) compliant. One of the required resize modes is crop (the image will be minimally cropped evenly to match the required aspect ratio). Anyone know which of Rmagick's million methods I'm looking for?
Upvotes: 1
Views: 578
Reputation: 4854
Looks like resize_to_fill
does what I was looking for. I just miss-read the documentation.
Upvotes: 2