The image4j library allows you to read and write certain image formats using only Java code.

See:
          Description

Packages
net.sf.image4j.codec.bmp BMP codec implementation, which allows encoding and decoding of MS BMP format.
net.sf.image4j.codec.ico ICO codec implementation, which allows encoding and decoding of MS ICO format.
net.sf.image4j.io Provides special classes for working with I/O, such as endian conversions.
net.sf.image4j.util Provides utilities for working with images, such as scaling and colour depth conversion.

 

The image4j library allows you to read and write certain image formats using only Java code.

All sub-packages under the codec package provide the implementation for a particular codec. The naming convension is as follows:

ElementDescription
package <codec>Package containing codec implementation
class <codec>DecoderDecoder class
class <codec>EncoderEncoder class

The Decoder and Encoder classes provide various static read and write methods respectively, which provide the functionality for decoding and encoding images.