beautypg.com

G3 conversion utility (g3cvt) – Dialogic 6.2 User Manual

Page 417

background image

G3 Conversion Utility (g3cvt)

November 2009

417

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 -w

option determines the number of bits per line, and the -b option

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 [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

Specifies the width of the lines; A4 (default), B4, or A3.

-b

Specifies the bit order of both the input and output files –

M (MSB), the default, or L (LSB).