ImageScience is a clean and happy Ruby library that generates thumbnails without leaking memory like RMagick.