From: sur max Date: 2007-02-17T02:05:14+09:00 Subject: Re: bitmap manipulation ------=_Part_5337_5329803.1171645511559 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline example to generate THUMBNAIL using RMagick ====================================== require 'RMagick' include Magick img = Image.read("image/path/my_image.jpg").first thumb_img = img.thumbnail(50, 50) thumb_img.write("image/path/my_image_thuumb.jpg") ======================================= check out more details here http://www.simplesystems.org/RMagick/doc/image3.html#thumbnail On 2/16/07, Jim Bob wrote: > > Rmagic looks like it will work a treat. > > Many thanks again, > Jim. > > -- > Posted via http://www.ruby-forum.com/. > > -- sur http://expressica.com ------=_Part_5337_5329803.1171645511559--