So I created a small script (I welcome criticism) to
help me add some captions for a bunch of jpeg images:

Dir["*.jpg"].sort.each do |file|
 puts "Enter caption for #{file}:"
 caption = gets
 if caption && caption!="\n" then
  File.open(File.basename(file,".jpg")+".txt","w") do |file|
   file.puts caption
  end
 end
end

However, it would be nice to have the script pop up a small
version of the image to look at while I write the caption.

I've looked at Ruby-gimp, but I can't find any simple
examples or read Japanese.  Any suggestions?

(I'm on a linux box with things like Gimp and ImageMagick.)

Thanks,
--
Bil
NASA Langley Research Center
Hampton, Virginia