g32pbm(1)
π g32pbm β bestie edition π
okay so this is the page for g32pbm(1) from the mgetty+sendfax manual, and bestie it is SO useful, let me tell you everything π«Ά
β¨ NAME β¨
g32pbm β turns a Group 3 fax file into a portable bitmap. that's it, that's the whole job, and she does it π
πΈ SYNOPSIS πΈ
g32pbm [-reversebits] [-stretch] [g3file]
π¦ DESCRIPTION π¦
So basically: it reads a Group 3 fax file (raw or digifax, she's not picky) as input. If you don't hand her a filename, she'll just read from stdin like the chill queen she is. Then she produces a portable bitmap as output. iconic behavior, no notes β¨
π OPTIONS π
-rβ tellsg32pbmto read the bits least-significant first instead of the default most-significant first. (yes, this is the-reversebitsone, iykyk.) the thing is, some fax modems do it one way and some do it the other way, and nobody's ever gonna agree π. so if you're getting a whole bunch ofinvalid codemessages β like, nearly one per line, that's the vibe check failing β just try this flag. it'll probably fix it. fr fr.-sβ doubles each horizontal row of the fax file in the pbm file (this is the-stretchone π). why would you want that? to adjust the aspect ratio of a "normal resolution" fax file so it matches a "fine resolution" one. and yes, it might not seem like it belongs here, but bestie it is so much faster than doingpnmscale|pgmtopbmlater. no cap. also lowkey:-sgets activated automatically if the file is specified on the command line and its name starts withfn...(fax/normal). she just knows π-l(aserjet) β instead of a portable bitmap (PBM), output HP laserjet files, suitable for direct printing on a HP laserjet or desjket. printer girlies rise up π¨οΈ-d <dpi>β scale output to<dpi>dots per inch before printing. normal FAX resolution is204x196dpi (fine mode), or204x98dpi (normal mode). and heads up bestie β in LaerJet mode, only the values75,150and300are allowed for<dpi>. those three, periodt. don't try to get cute with other numbers π-tβ turn image by 90 degrees clockwise. and the way multiple-tcommands increase the angle?? so-t -twill turn it upside down, and so on. keep going and who even knows where you'll end up π-?β print a short command syntax. the classic "help me pls" move π
β REFERENCES β
the standard for Group 3 fax is defined in CCITT Recommendation T.4. that's the lore π
π BUGS π
okay so we gotta be honest here, no gatekeeping:
g32pbmcould be smarter about the image width. at the moment, the maximum width is1728pixels, and the maximum height is4300lines. everything bigger is just cut off. gone. bye βοΈ- only 'raw' pbm files are created. that's the whole menu.
- scaling is too slow. π
- turning is too slow (and not yet fully implemented either). so like, double slow. tragic.
fr fr read the bugs section before you come for her, she's doing her best π
π 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>. she's similar to the g3topbm program in Jef Poskanzers pbmplus package, but she's a complete re-write β no code is copied. original main character energy only β¨
and that's the whole page bestie!! π this one came out of greenie, dated 27 Oct 93, and it's the g32pbm(1) page, mwah π go convert some faxes, you got this π¦π
π¦ where this page comes from
- debian bookworm: mgetty-fax 1.2.1-1.2
- debian trixie: mgetty-fax 1.2.1-2
- opensuse-leap 16.0: g3utils 1.2.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: g3utils 1.2.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: g3utils 1.2.1-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: g3utils 1.2.1-bp160.1.13 Β· GPL-2.0-or-later
- 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