PBMTOG3(1)
π Pbmtog3 User Manual π
okay bestie, welcome to the Pbmtog3 page from the General Commands Manual section of the Netpbm docs β¨ no cap, this one's a lil niche but it's lowkey iconic.
β¨ NAME β¨
pbmtog3 β convert a PBM image into a Group 3 MH fax file π
π SYNOPSIS π
pbmtog3 [-reversebits] [-nofixedwidth] [-align8|-align16] [pbmfile]
π¦ DESCRIPTION π¦
So this program is part of Netpbm(1), fr fr. π
pbmtog3 reads a PBM image as input and produces a Group 3 MH fax file as output. That's the whole vibe. In, out, slay. π
You can also generate a TIFF file that uses the same encoding inside, with pamtotiff. π
And jsyk β there is no program in Netpbm that generates other fax formats, such as MR and MMR, but pamtotiff can generate TIFF files that use those encodings. So if you're looking for those, it's giving "go ask pamtotiff instead." π
π OPTIONS π
On top of the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pbmtog3 recognizes the following command line options:
-reversebitsβ this one flips the bits in every byte of the output, so the least significant bit becomes the most significant bit. Some fax modems expect bits in reverse order, and this compensates for that. π So if you're getting a whole bunch of "bad code word" messages when you try to read the G3 file (e.g. withg3topbm), try using this option. Note that the output is not G3 when you use this option. π¨ like, do not come for me, that's just how it is.-nofixedwidthβ most fax machines expect the image to be1728columns wide, sopbmtog3cuts the output to this width by default. If you want to keep the width of the original image, use this option. π«Ά
This option was new in Netpbm 10.6 (July 2002). Before that, pbmtog3 always kept the width of the original image. π°οΈ
-align8-align16β these options say to align output rows to 8-bit or 16-bit boundaries, respectively, by adding padding bits in front of EOL codes. π
Without these options, pbmtog3 adds no padding and rows may begin and ends anywhere within a byte. (yes, the original says "begins and ends," we're keeping that energy, it's iconic in its own way π)
You cannot specify both. pick a lane bestie, not both. π ββοΈ
These options were new in Netpbm 10.79 (June 2017). β
π SEE ALSO π
g3topbm(1), pamtotiff(1), pbm(1), fax formats(1)
iykyk, go read those next. π
π HISTORY π
Before Netpbm 10.79 (June 2017), there was a different program by the same name in Netpbm, which was written by by Paul Haeberli <paul@manray.sgi.com> in 1989 and then modified extensively by others. the lore is real. π
Akira Urushibata <afu@wta.att.ne.jp> wrote the current version, with an entirely different algorithm, in April 2017 and contributed his work to the public domain. π legend behavior.
The current program is backward compatible with the pre-10.79 version. so nothing broke, we love to see it. β¨
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/pbmtog3.html
okay and that's the whole page bestie, thank you for coming to my TED talk π«Ά this lil cutie is brought to you by the netpbm documentation, dated 20 April 2017, and it lives under the Pbmtog3 User Manual(1) header. mwah π so glad we read this together, go convert some faxes πβ¨π
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms