G3 Conversion Utility (g3cvt)

G3 Conversion Utility (g3cvt)

Converts a raw fax file between any of these formats—MH, MR, MMR, PCX, and bitmap. It accepts files that use either MSB or LSB bit order, and (optionally) skips past a Brooktrout 128-byte header. Output from this utility does not contain a 128-byte Brooktrout header.

As it proceeds, g3cvt displays dots across the screen. If it detects an error in the input file, g3cvt displays an error message. With some input formats, g3cvt cannot continue after it encounters an input error.

For bitmap conversion, this utility uses raw bitmap format. The -woption determines the number of bits per line, and the -boption determines the bit order. Raw bitmap format does not use start-of-image, end-of-line, or end-of-image marks.

When decoding MH or MR files, if this utility encounters an input line with errors, it writes a copy of the previous line in the output file.

To display usage information, type g3cvt without any arguments.

Command Syntax

g3cvt <i_fmt> <i_file> <o_fmt> <o_file> [options]

Where:

i_fmt

Format of the input file—MH, MR, MMR, PCX, or BIT.

i_file

Name of the input file.

o_fmt

Format of the output file—MH, MR, MMR, PCX, or BIT.

o_file

Name of the output file.

Options

-w<width>Specifies the width of the lines; A4 (default), B4, or A3.

-b<b_o>Specifies the bit order of both the input and output files – M (MSB), the default, or L (LSB).

November 2009

417

Page 417
Image 417
Dialogic 6.2 manual G3 Conversion Utility g3cvt, G3cvt ifmt ifile ofmt ofile options, November 417