- zenspider.com
- zenspider projects
- image_science
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. :)
1 2 3 4 5 6 7 8 9 |
ImageScience.with_image file do |img| img.cropped_thumbnail 100 do |thumb| thumb.save "#{file}_cropped.png" end img.thumbnail 100 do |thumb| thumb.save "#{file}_thumb.png" end end |
gem install image_science
git clone git://github.com/seattlerb/image_science