This is a Ruby library to measure the size of a given image file.

WWW: http://www.rubycgi.org/tools/index.en.htm
