Read more

Paperclip: Image resize options

Ulrich Berkmueller
February 25, 2011Software engineer

Paperclip uses the imagemagick resize options like 100x50> , 100x50<, 100x50# etc to resize images.
See the link what options are available.

  • ('!') Ignore Aspect Ratio
  • ('>') Only Shrink Larger
  • ('<') Only Enlarge Smaller
  • ('^') Fill Given Area
  • ('%') Percentage Resize
  • ('@') Pixel Area Limit
  • ('#') Crop thumbnail centrally and ensure the requested dimensions, not documented at imagemagick doc
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot
Posted by Ulrich Berkmueller to makandra dev (2011-02-25 14:44)