From: ara.t.howard@... Date: 2007-03-04T00:12:19+09:00 Subject: Re: How to download file from web site On Sun, 4 Mar 2007, Timothy Hunter wrote: >> >> -a > Thanks again, Ara! > no way - thank you! i'm preparing a class right now, here's one of many examples i've got put together: # # gem install RMagick @ http://rmagick.rubyforge.org/ # require "rubygems" require "RMagick" # # converts all images named on the command-line into thumbnails # ARGV.each do |path| path = File.expand_path path dirname, basename = File.split path base, ext = basename.split %r/[.]/, 2 img = Magick::ImageList.new path thumb = img.thumbnail 96, 96 thumb_path = File.join dirname, "#{ base }.thumb.#{ ext }" thumb.write thumb_path puts thumb_path end thanks for rmagick. -a -- be kind whenever possible... it is always possible. - the dalai lama