I am trying to automate a bunch of thumbnail creations, and thought  
I'd use RMagick/ImageMagick.

I built ImageMagick from source, and used the gem to install RMagick,  
but when I write a simple program, I see this:

[Sliver:~/Desktop/NO] gkistner$ cat makesmall.rb
require 'RMagick'
orig = Magick::ImageList.new("IMG_4340.jpg")
puts orig.columns, orig.rows

[Sliver:~/Desktop/NO] gkistner$ ruby makesmall.rb
/usr/local/lib/ruby/site_ruby/1.8/RMagick.rb:1378:in `read': no  
decode delegate for this image format `IMG_4340.jpg':   
(Magick::ImageMagickError)
         from /usr/local/lib/ruby/site_ruby/1.8/RMagick.rb:1378:in  
`initialize'
         from /usr/local/lib/ruby/site_ruby/1.8/RMagick.rb:1377:in  
`each'
         from /usr/local/lib/ruby/site_ruby/1.8/RMagick.rb:1377:in  
`initialize'
         from makesmall.rb:4:in `new'
         from makesmall.rb:4

[Sliver:~/Desktop/NO] gkistner$ convert -version
Version: ImageMagick 6.2.2 05/17/05 Q16 file:/usr/share/ 
ImageMagick-6.2.2/doc/index.html
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

[Sliver:~/Desktop/NO] gkistner$ convert -list format | grep JPEG
            see part 5 which describes the image encoding (RLE, JPEG,  
JPEG-LS),
            and supplement 61 which adds JPEG-2000 encoding.


When I built ImageMagick, I followed the advice on this page[1] and  
set all the environment variables first (and also tried specifying  
options to configure like --with-jpeg) but I'm still seeing this  
error. (I also first tried it without any special options.)


Anyone know what's up? Anyone got RMagick working on MacOS X (Tiger)?


[1] http://grotto11.com/blog/archive/1060372029.shtml