g1nn13-image_science

g1nn13-image_science

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/

Rubygem g1nn13-image_science

Total Downloads
12209
Releases
8
Current Version
1.2.10
Released
2011-08-10 04:00:00 UTC
First Release
2010-01-24 05:00:00 UTC
Depends on following gems
Depending Gems
0

Github g1nn13/image_science

Watchers
Forks
Development activity
Unknown
Last commit
First commit
Top contributors
Contributors

Resources

There are no resources yet, be the first to submit one!

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.