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.