Libraries
CCITT Fax Source Code
 previous   up   next 

Function Summary
void
processCcittModifiedGroup3FaxMsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read modified CCITT group 3 faxData with MSB bit ordering into image.
void
processCcittModifiedGroup3FaxLsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read modified CCITT group 3 faxData with LSB bit ordering into image.
void
processCcittT6FaxMsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.6 bi-level faxData with MSB bit ordering into image.
void
processCcittT6FaxLsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.6 bi-level faxData with LSB bit ordering into image.
void
processCcittT4Fax1dMsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.4 bi-level one-dimensional faxData with MSB bit ordering into image.
void
processCcittT4Fax1dLsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.4 bi-level one-dimensional faxData with LSB bit ordering into image.
void
processCcittT4Fax2dMsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.4 bi-level two-dimensional faxData with MSB bit ordering into image.
void
processCcittT4Fax2dLsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)
Read CCITT T.4 bi-level two-dimensional faxData with LSB bit ordering into image.

Function Detail

processCcittModifiedGroup3FaxMsb

const proc: processCcittModifiedGroup3FaxMsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read modified CCITT group 3 faxData with MSB bit ordering into image. A modified CCITT Group 3 one-dimensional Huffman run-length encoding is used. The CCITT group 3 facsimile standard has been defined by CCITT in 1988. This encoding is used in TIFF files if compression = 2. MSB bit ordering processes the bits from the MSB (most significant bit) to the LSB (least significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - Modified CCITT group 3 one-dimensional encoded fax data with MSB bit ordering.
whitePixel - Pixel to be used for white.
blackPixel - Pixel to be used for black.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittModifiedGroup3FaxLsb

const proc: processCcittModifiedGroup3FaxLsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read modified CCITT group 3 faxData with LSB bit ordering into image. A modified CCITT Group 3 one-dimensional Huffman run-length encoding is used. The CCITT group 3 facsimile standard has been defined by CCITT in 1988. This encoding is used in TIFF files if compression = 2. LSB bit ordering processes the bits from the LSB (least significant bit) to the MSB (most significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - Modified CCITT group 3 one-dimensional encoded fax data with LSB bit ordering.
whitePixel - Pixel to be used for white.
blackPixel - Pixel to be used for black.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT6FaxMsb

const proc: processCcittT6FaxMsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.6 bi-level faxData with MSB bit ordering into image. CCITT T.6 belongs to the group 4 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 4. MSB bit ordering processes the bits from the MSB (most significant bit) to the LSB (least significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.6 two-dimensional encoded fax data with MSB bit ordering.
blackOrWhite - Array with black and white pixel indexed from 0.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT6FaxLsb

const proc: processCcittT6FaxLsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.6 bi-level faxData with LSB bit ordering into image. CCITT T.6 belongs to the group 4 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 4. LSB bit ordering processes the bits from the LSB (least significant bit) to the MSB (most significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.6 two-dimensional encoded fax data with LSB bit ordering.
blackOrWhite - Array with black and white pixel indexed from 0.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT4Fax1dMsb

const proc: processCcittT4Fax1dMsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.4 bi-level one-dimensional faxData with MSB bit ordering into image. CCITT T.4 belongs to the group 3 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 3 and t4Options is even. MSB bit ordering processes the bits from the MSB (most significant bit) to the LSB (least significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.4 one-dimensional encoded fax data with MSB bit ordering.
whitePixel - Pixel to be used for white.
blackPixel - Pixel to be used for black.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT4Fax1dLsb

const proc: processCcittT4Fax1dLsb (in string: faxData, in pixel: whitePixel, in pixel: blackPixel, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.4 bi-level one-dimensional faxData with LSB bit ordering into image. CCITT T.4 belongs to the group 3 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 3 and t4Options is even. LSB bit ordering processes the bits from the LSB (least significant bit) to the MSB (most significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.4 one-dimensional encoded fax data with LSB bit ordering.
whitePixel - Pixel to be used for white.
blackPixel - Pixel to be used for black.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT4Fax2dMsb

const proc: processCcittT4Fax2dMsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.4 bi-level two-dimensional faxData with MSB bit ordering into image. CCITT T.4 belongs to the group 3 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 3 and t4Options is odd. MSB bit ordering processes the bits from the MSB (most significant bit) to the LSB (least significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.4 two-dimensional encoded fax data with MSB bit ordering.
blackOrWhite - Array with black and white pixel indexed from 0.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.

processCcittT4Fax2dLsb

const proc: processCcittT4Fax2dLsb (in string: faxData, in colorLookupTable: blackOrWhite, in integer: startLine, in integer: height, in integer: width, inout pixelImage: image)

Read CCITT T.4 bi-level two-dimensional faxData with LSB bit ordering into image. CCITT T.4 belongs to the group 3 facsimile standard defined by CCITT in 1988. This encoding is used in TIFF files if compression = 3 and t4Options is odd. LSB bit ordering processes the bits from the LSB (least significant bit) to the MSB (most significant bit). This function fills a part of the image destination. The part starts with startLine and extends over height lines.

Parameters:
faxData - CCITT T.4 two-dimensional encoded fax data with LSB bit ordering.
blackOrWhite - Array with black and white pixel indexed from 0.
startLine - First line of image to which the pixels are assigned.
height - Number of lines to be processed.
width - Width of the lines to be processed.
image - Destination of the pixel lines.


 previous   up   next