1g32pbm(1)                    mgetty+sendfax manual                   g32pbm(1)
2
3
4

NAME

6       g32pbm - convert a Group 3 fax file into a portable bitmap
7

SYNOPSIS

9       g32pbm [-reversebits] [-stretch] [g3file]
10

DESCRIPTION

12       Reads  a  Group 3 fax file (raw or digifax) as input. If no filename is
13       given, stdin is used.  Produces a portable bitmap as output.
14

OPTIONS

16       -r     Tells g32pbm to interpret bits least-significant first,  instead
17              of  the  default  most-significant first ("-reversebits").  Some
18              fax modems do it one way and others do it the other way. If  you
19              get  a  whole  bunch  of "invalid code" messages (nearly one per
20              line), try using this flag.
21
22       -s     Double each horizontal row of the  fax  file  in  the  pbm  file
23              ("-stretch)".   You can use this to adjust the aspect ratio of a
24              "normal resolution" fax file to match that of  a  "fine  resolu‐
25              tion"  fax  file.  This might not seem like it belongs here, but
26              it's much faster than  using  pnmscale|pgmtopbm  later.   -s  is
27              activated  automatically if the file is specified on the command
28              line and its name starts with "fn..." (fax/normal).
29
30       -l(aserjet)
31              Instead of a portable bitmap (PBM), output  HP  LaserJet  files,
32              suitable for direct printing on a HP LaserJet or DeskJet.
33
34       -d <dpi>
35              Scale  output to <dpi> dots per inch before printing. Normal FAX
36              resolution is 204x196 dpi (fine mode),  or  204x98  dpi  (normal
37              mode).  In  LaserJet  mode,  only the values 75, 150 and 300 are
38              allowed for <dpi>.
39
40       -t     turn  image  by  90  degrees  clockwise.  Multiple  -t  commands
41              increase  angle, that is, -t -t will turn it upside down, and so
42              on.
43
44       -?     Print a short command syntax.
45

REFERENCES

47       The standard for Group 3 fax is defined in CCITT Recommendation T.4.
48

BUGS

50       g32pbm could be smarter about the image width, at the moment, the maxi‐
51       mum  width is 1728 pixels, and the maximum height is 4300 lines. Every‐
52       thing bigger is just cut off.
53
54       Only 'raw' pbm files are created.
55
56       Scaling is too slow.
57
58       Turning is too slow (and not yet fully implemented either).
59

SEE ALSO

61       pbm2g3(1), pbm(5), g3cat(1), sendfax(8), mgetty(1)
62

AUTHOR

64       g32pbm is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>. It
65       is  similar  to  the g3topbm program in Jef Poskanzers pbmplus package,
66       but it's a complete re-write. No code is copied.
67
68
69
70greenie                            27 Oct 93                         g32pbm(1)
Impressum