pbm2g3 - convert portable bitmaps (PBM) into G3 fax files
pbm2g3 [-r] [-w<pagewidth>] [-h<blanklines>] [-d] [-a] [pbmfile]
Reads a portable bitmap as input, converting it into a G3 fax file on stdout. That file is suitable for faxing it with sendfax(8) or queueing it for faxing with faxspool(1) (provided that it gets a ‘‘.g3’’ suffix).
faxspool(1) uses pbm2g3(1) internally to convert various bitmap formats into fax g3 format.
If you set it to 0, the width of the pbm file will be used.
To produce identical output as pbmplus’ pbm2g3 program (with my patch!) does, use ‘‘-h 4’’.
The standard for Group 3 fax is defined in CCITT Recommendation T.4.
The -d option isn’t implemented yet.
If a raw pbm file is converted, and the width of the g3 file is smaller than the width of the pbm file, the former is rounded up to the next multiple of 8.
g32pbm(1) , pbm(5) , sendfax(8)
pbm2g3 is Copyright (C) 1993 by Gert Doering, <firstname.lastname@example.org>. It is similar to the pbmtog3 program in Jef Poskanzers pbmplus package, but it’s a complete re-write. No code is copied.
Table of Contents