http://java.sun.com/products/java-media/jai/ ______________________________________________ Java Advanced Imaging Image I/O Tools 1.0-beta is now available. JAI Image I/O Tools provides reader, writer, and stream plug-ins for the Java Image I/O Framework and Image I/O-based read and write operations for Java Advanced Imaging. Reader-writer plug-ins are supplied for the BMP, JPEG, JPEG 2000, PNG, PNM, Raw, TIFF, and WBMP image formats. The supplied streams and associated service providers use the New I/O APIs. Please refer to the JAI Image I/O Tools API documentation for more information.
关键是你要了解JPG和GIF的文件格式,和他们相关的算法,剩下就是转换工作,要不说什么也是白搭。
SUN出了个高级图形开发包,不知道有无现成的此功能,去SUN看看吧
______________________________________________
Java Advanced Imaging Image I/O Tools 1.0-beta is now available. JAI Image I/O Tools provides reader, writer, and stream plug-ins for the Java Image I/O Framework and Image I/O-based read and write operations for Java Advanced Imaging. Reader-writer plug-ins are supplied for the BMP, JPEG, JPEG 2000, PNG, PNM, Raw, TIFF, and WBMP image formats. The supplied streams and associated service providers use the New I/O APIs. Please refer to the JAI Image I/O Tools API documentation for more information.