RubyGems.org

g1nn13 fork changes: * added buffer() method to get image buffer for writing (to Amazon S3) * added fit_within() method to resize an image to fit within a specified height and width without changing the image's aspect ratio * added resize_with_crop() to resize and crop images where the target aspect ratio differs from the original aspect ratio. This is for converting portrait to landscape and landscape to portrait. ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve. :) For more information including build steps, see http://seattlerb.rubyforge.org/

installgem install g1nn13-image_science
Authors

jim nist

5,464 total downloads 623 for this version
Owners

E3d4b4eeffce74d59e140d4afea029a2D32deb849ddefe1ee393fdcf9d57b283E430a272a0d59c20f2d4574dc4f7bacc

Gemfile
gem "g1nn13-image_science", "~> 1.2.10"
Versions
  1. 1.2.10 August 10, 2011
Show all versions (8 total)