use libexif for getting the EXIF orientation tag, it is so much faster than identify...
[booh] / ext /
drwxr-xr-x   ..
-rw-r--r-- 462 extconf.rb
-rw-r--r-- 4268 rbbooh.c