JII (Java Image Info) provides a clean interface to a collection of Java libraries and source code too read basic properties of images.