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 -v 1.2.7
Authors

jim nist

9,351 total downloads 1,013 for this version
Owners

E3d4b4eeffce74d59e140d4afea029a2D32deb849ddefe1ee393fdcf9d57b283E430a272a0d59c20f2d4574dc4f7bacc

Gemfile
gem "g1nn13-image_science", "~> 1.2.7"
Versions
  1. 1.2.10 August 10, 2011
  2. 1.2.9 June 2, 2010
  3. 1.2.8 May 27, 2010
  4. 1.2.7 May 26, 2010
  5. 1.2.6 May 26, 2010
Show all versions (8 total)