net.sourceforge.jiu.codecs.tiff

Class TIFFFaxCodes


public class TIFFFaxCodes
extends java.lang.Object

Information to be used to decode and encode TIFF files in one of the bilevel compression types Modified Huffman, CCITT Group 3 or CCITT Group 4.
Author:
Marco Schmidt
Since:
0.9.0

Field Summary

static int[][][]
BLACK_CODES
The code words and their meanings for black codes.
static int
INDEX_CODE_VALUE
Index of the code value in the int[] value pairs.
static int
INDEX_CODE_WORD
Index of the code word in the int[] value pairs.
static int
MIN_BLACK_CODE_SIZE
Minimum code length in bits of black codes.
static int
MIN_WHITE_CODE_SIZE
Minimum code length in bits of white codes.
static int[][][]
WHITE_CODES
The code words and their meanings for white codes.

Field Details

BLACK_CODES

public static final int[][][] BLACK_CODES
The code words and their meanings for black codes. In ascending order, starting at MIN_BLACK_CODE_SIZE bits, each int[][] object contains all the code word / code value pairs for one bit length.

INDEX_CODE_VALUE

public static final int INDEX_CODE_VALUE
Index of the code value in the int[] value pairs.
Field Value:
1

INDEX_CODE_WORD

public static final int INDEX_CODE_WORD
Index of the code word in the int[] value pairs.
Field Value:
0

MIN_BLACK_CODE_SIZE

public static final int MIN_BLACK_CODE_SIZE
Minimum code length in bits of black codes.
Field Value:
2

MIN_WHITE_CODE_SIZE

public static final int MIN_WHITE_CODE_SIZE
Minimum code length in bits of white codes.
Field Value:
4

WHITE_CODES

public static final int[][][] WHITE_CODES
The code words and their meanings for white codes. In ascending order, starting at MIN_WHITE_CODE_SIZE bits, each int[][] object contains all the code word / code value pairs for one bit length.