This program is part of Netpbm.
pbmtog3 reads a PBM image as input and produces a Group 3 MH fax file as output.
You can also generate a TIFF file that uses the same encoding inside, with pamtotiff.
There is no program in Netpbm that generates other fax formats, such as MR and MMR, but pamtotiff can generate TIFF files that use those encodings.
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pbmtog3 recognizes the following command line options:
This option was new in Netpbm 10.6 (July 2002). Before that, pbmtog3 always kept the width of the original image.
Without these options, pbmtog3 adds no padding and rows may begin and ends anywhere within a byte.
You cannot specify both.
These options were new in Netpbm 10.79 (June 2017).
Before Netpbm 10.79 (June 2017), there was a different program by the same name in Netpbm, which was written by by Paul Haeberli <paul@manray.sgi.com> in 1989 and then modified extensively by others.
Akira Urushibata <afu@wta.att.ne.jp> wrote the current version, with an entirely different algorithm, in April 2017 and contributed his work to the public domain.
The current program is backward compatible with the pre-10.79 version.