From: Bashar Asad Date: 2001-12-27T10:26:31+09:00 Subject: [ruby-talk:29453] imageMagick hello, I wrote a very small script that will take one image file and create a thumb image for it. How can I make my script read all the image files in the directory and create the thumbs? the script: require "magick" #read file image.jpg imagefile = Magick::Image.new("image.gif") #scaling the image imaget = imagefile.dup imaget.scale('60%') #writing out the thumb file imaget.write("filename"=>"imagethumb.gif") thanx -- Bashar A. Asad -------------------------------------- "Always buy a good bed and a good pair of shoes. If you're not in one, you're in the other"