Imagemagick Resizing in Paperclip

Posted by jonathan.soeder on Stack Overflow See other posts from Stack Overflow or by jonathan.soeder
Published on 2010-06-16T06:03:57Z Indexed on 2010/06/16 6:12 UTC
Read the original article Hit count: 261

So, I want to resize images to a FIXED width, but proportional height.

I have been trying a wide range of operators:

380x242# 380x242> 380!x242 380x242<

none of them have the desired effect. Any help? I want it to fill or resize to the 380 width, then resize / shrink the height by the same factor it used to shrink or resize the image to 380 wide.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about imagemagick