Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

g3toxwd(1) [debian man page]

g3toxwd(1)						       mgetty+sendfax manual							g3toxwd(1)

NAME
g3toxwd - converts a Group 3 fax file into a displayable xwd file SYNOPSIS
g3toxwd [-kludge] [-reversebits] [-scale N] [-aspect N] [-skiprows N] [-name xwdname] [g3file] DESCRIPTION
Reads a Group 3 fax file (raw or digifax) as input. If no filename is given, stdin is used. Produces a displayable xwd file as output. OPTIONS
-kludge Tells g3toxwd to skip the first lines for synchronisation. -reversebits Tells g3toxwd to interpret bits least-significant first, instead of the default most-significant first. Apparently some fax modems do it one way and others do it the other way. If you get a whole bunch of "invalid code" messages, try using this flag. -scale N Scale the output to match the printer resolution and paper size, the default of 0.58 will do in most cases. -aspect N Scale the output to match the printer resolution and paper size, the default of 1.0 will do for high resolution faxes, 2.0 will do for low resolution faxes. -skiprows N N faxrows of the input file will be skipped. -name <name> The name <name> will be put in the output file for xwd. REFERENCES The standard for Group 3 fax is defined in CCITT Recommendation T.4. BUGS
Long fax files are not handled properly. Output size fixed 1000x1350 pixels defined at compile time. Please report bugs to chel@vangen- nip.nl SEE ALSO
pbmtog3(1), pbm(5), g3cat(1), sendfax(8), mgetty(1) AUTHOR
g3toxwd is Copyright (C) 1994 by Chel van Gennip, <chel@vangennip.nl>. Sources of g3topbm and pbmtoxwd programs in Jef Poskanzers pbmplus package have been used, but al lot of code has been changed or added to simplify its use for displaying faxes. Value added: low use of mem- ory, fast scaling. Chel 22 may 94 g3toxwd(1)

Check Out this Related Man Page

g32pbm(1)						       mgetty+sendfax manual							 g32pbm(1)

NAME
g32pbm - convert a Group 3 fax file into a portable bitmap SYNOPSIS
g32pbm [-reversebits] [-stretch] [g3file] DESCRIPTION
Reads a Group 3 fax file (raw or digifax) as input. If no filename is given, stdin is used. Produces a portable bitmap as output. OPTIONS
-r Tells g32pbm to interpret bits least-significant first, instead of the default most-significant first ("-reversebits"). Some fax modems do it one way and others do it the other way. If you get a whole bunch of "invalid code" messages (nearly one per line), try using this flag. -s Double each horizontal row of the fax file in the pbm file ("-stretch)". You can use this to adjust the aspect ratio of a "normal resolution" fax file to match that of a "fine resolution" fax file. This might not seem like it belongs here, but it's much faster than using pnmscale|pgmtopbm later. -s is activated automatically if the file is specified on the command line and its name starts with "fn..." (fax/normal). -l(aserjet) Instead of a portable bitmap (PBM), output HP laserjet files, suitable for direct printing on a HP laserjet or desjket. -d <dpi> Scale output to <dpi> dots per inch before printing. Normal FAX resolution is 204x196 dpi (fine mode), or 204x98 dpi (normal mode). In LaerJet mode, only the values 75, 150 and 300 are allowed for <dpi>. -t turn image by 90 degrees clockwise. Multiple -t commands increase angle, that is, -t -t will turn it upside down, and so on. -? Print a short command syntax. REFERENCES
The standard for Group 3 fax is defined in CCITT Recommendation T.4. BUGS
g32pbm could be smarter about the image width, at the moment, the maximum width is 1728 pixels, and the maximum height is 4300 lines. Everything bigger is just cut off. Only 'raw' pbm files are created. Scaling is too slow. Turning is too slow (and not yet fully implemented either). SEE ALSO
pbm2g3(1), pbm(5), g3cat(1), sendfax(8), mgetty(1) AUTHOR
g32pbm is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>. It is similar to the g3topbm program in Jef Poskanzers pbmplus pack- age, but it's a complete re-write. No code is copied. greenie 27 Oct 93 g32pbm(1)
Man Page