g3toxwd(1)
β¨ NAME β¨
okay so bestie, welcome to g3toxwd π β it converts a Group 3 fax file into a displayable xwd file. that's the whole job. that's the vibe. π
πΈ SYNOPSIS πΈ
g3toxwd [-kludge] [-reversebits] [-scale N] [-aspect N] [-skiprows N]
[-name xwdname] [g3file]
π¦ DESCRIPTION π¦
so like, it reads a Group 3 fax file as input β raw or digifax, both work π
. if you don't hand it a filename? it just grabs stdin, no questions asked. and then it produces a displayable xwd file as the output. iconic behavior fr fr. β¨
π OPTIONS π
-kludgeβ tellsg3toxwdto skip the first lines for synchronisation. little warm-up stretch before the real work, yk? π§-reversebitsβ tellsg3toxwdto 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 β no cap, they really can't agree π. so if you're getting a whole bunch of"invalid code"messages? try this flag. it's giving "have you tried turning it off and on again" but make it bits. π-scale Nβ scales the output to match the printer resolution and paper size. the default of0.58will do in most cases, she's versatile like that. π-aspect Nβ scales the output to match the printer resolution and paper size. the default of1.0will do for high resolution faxes, and2.0will do for low resolution faxes. pick your fighter. π-skiprows NβNfaxrows of the input file will be skipped. bye bye rows, we don't know them. π-name <name>β the name<name>will be put in the output file forxwd. giving your baby a name, so cute. π
π REFERENCES π
the standard for Group 3 fax is defined in CCITT Recommendation T.4. yes bestie, there's a whole official document, iykyk. π
π BUGS π
long fax files are not handled properly. lowkey a crime but we move. π
output size is fixed at 1000x1350 pixels, defined at compile time β so yeah, that's baked in, not adjustable. π
please report bugs to chel@vangennip.nl. they wanna hear about it, fr fr. π¬
π₯ 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 the g3topbm and pbmtoxwd programs in Jef Poskanzers pbmplus package have been used, but a lot of code has been changed or added to simplify its use for displaying faxes. and the value added? low use of memory, fast scaling. ate. π
β¨
Chel wrote this on 22 may 94, and this little page is part of the mgetty+sendfax manual, filed under g3toxwd(1). mwah, go read your faxes bestie π«Άπ
π¦ where this page comes from
- debian bookworm: mgetty-fax 1.2.1-1.2
- debian trixie: mgetty-fax 1.2.1-2
- ubuntu jammy: mgetty-fax 1.2.1-1.1
- ubuntu noble: mgetty-fax 1.2.1-1.2
- ubuntu questing: mgetty-fax 1.2.1-3
- ubuntu resolute: mgetty-fax 1.2.1-5
- ubuntu stonking: mgetty-fax 1.2.1-8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms