What about using JIMI. Look at the description above:
Jimi is a class library for managing images. Its primary function is image I/O. Jimi was formerly a product of Activated Intelligence. Sun is making it available for developers who have code with dependencies on Jimi or for those who need image I/O functionality in applications running under 1.1.x versions of the Java Platform. Jimi's range of supported formats includes GIF, JPEG, TIFF, PNG, PICT, Photoshop, BMP, Targa, ICO, CUR, Sunraster, XBM, XPM, and PCX, although some of these formats do not have complete support for all features.
For developers interested in image I/O on the Java 2 Platform, a set of image I/O classes is packaged with the Java Advanced Imaging API (see the com.sun.media.jai.codec package). A standard extension for image I/O on the Java 2 Platform is currently being developed under the Java Community Process.
You can find it in:
http://java.sun.com/products/jimi/
hope it helps