A few io-stream classes. Modified Huffman (MH), Modified READ (MR), Modified Modified READ (MMR), Base-64, PackBits, Little Endian
  1. LEInputStream and LEOutputStream : These classes deal with little endian streams.
  2. BitInputStream, BitOutputStream : Convert a bit stream into a byte stream (vice versa).
  3. PackBitsInputStream : Read Apples PackBits codes ([1] p.42)
  4. ModHuffmanTable : modified huffman code table.
    ModHuffmanInputStream, ModHuffmanOutputStream : Convert run length codes into Modified Huffman code and vice versa (MH).
  5. ModREADTable : READ code table.
    ModModREADInputStream, ModModREADOutputStream : Convert run length codes into MMR code stream, vice versa.
    ModREADInputStream, ModREADOutputStream : Convert run length codes into MR code stream, vice versa.
  6. Base64Table : base 64 code table.
    Base64InputStream, Base64OutputStream : Convert binary data into base 64 codes. Needed to safely send binary attachments via email.

"The ITU-T T.4 recommendation defines a one-dimensional compression method known as Modified Huffman (MH) and a two-dimensional method known as Modified READ (MR) (READ is short for Relative Element Address Designate). In 1984, a somewhat more efficient compression method known as Modified Modified READ (MMR) was defined in the T.6 recommendation. It was originally defined for use with Group 4 facsimile, so that this compression method has been commonly called Group 4 compression. In 1991, the MMR method was approved for use in Group 3 facsimile and has since been widely utilized." [2]

[1] Tagged Image File Format Version 6 TIFF6.pdf Adobe [last accessed : 2005-07-30]

[2] RFC 2306 - Tag Image File Format (TIFF) - F Profile for Facsimile RFC 2306 [last accessed : 2005-08-26]

Projects :
  1. uk.co.mmscomputing.application.imageviewer:
    A simple Multi Page Image Viewer Applet. To view multipage *.sff, *.tiff and *.gif files. Twain and SANE test application.
  2. uk.co.mmscomputing.imageio.sff:
    Classes that enable the java imageio system to read and write *.sff (structured fax format) files.
  3. uk.co.mmscomputing.imageio.tiff:
    Classes that enable the java imageio system to read and write *.tif (Tagged Image File Format ) files.