Wouldn't a bmp image format give you the necessary information? You'd
have to read a given number of bytes per pixel which would give you the
brightness info for each pixel.
Mig
--
Miguel Barrio "Don't be led astray
miguelito(AT)pobox.com into the paths of virtue."
http://pobox.com/~miguelito -- Oscar Wilde