Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (15 sloc) 547 Bytes
FastImage Resize is an extremely light solution for resizing images in ruby by using libgd
=== Examples
require 'fastimage_resize'
FastImage.resize("http://stephensykes.com/images/ss.com_x.gif", "my.gif", 100, 20)
=> 1
=== Requirements
RubyInline
sudo gem install RubyInline
FastImage
sudo gem install sdsykes-fastimage -s http://gems.github.com
Libgd
See http://www.libgd.org/
Libgd is commonly available on most unix platforms, including OSX.
=== References
* http://blog.new-bamboo.co.uk/2007/12/3/super-f-simple-resizing