Class IFFCodec


  • public class IFFCodec
    extends ImageCodec
    A codec to read Amiga IFF image files. IFF (Interchange File Format) is an Amiga wrapper file format for texts, images, animations, sound and other kinds of data. This codec only deals with image IFF files. Typical file extensions for IFF image files are .lbm and .iff.

    Loading / saving

    Only loading is supported by this codec.

    Supported file types

    Both uncompressed and run-length encoded files are read.
    • 1 to 8 bit indexed (paletted) color
    • 24 bit RGB truecolor
    • HAM6 and HAM8 images (which are a mixture of paletted and truecolor)

    Usage example

     IFFCodec codec = new IFFCodec();
     codec.setFile("image.iff", CodecMode.LOAD);
     codec.process();
     PixelImage image = codec.getImage();
     
    Since:
    0.3.0
    Author:
    Marco Schmidt