jnicklas/carrierwave — Issue #494: Expose resize methods that breaks the aspect ratio
Author: rafamvc
Created: 2011-10-18 13:27:25+00:00
State: open

Sometimes it is useful.

```
def resize_to_fill!(x, y)
img = MiniMagick::Image.open(self.path)
img.resize "#{x}x#{y}!"
img.write(self.current_path)
end
```