pbm2g3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mgetty (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
The command pbm2g3, to convert pbm images to g3 fax format does not convert the full source image.
After the command execution and running viewfax to view the resulting g3 file, i can see only half the g3 file in width.
The manual entry says that no additional parameters have to be inserted to have a correct conversion to g3 format but that does not seem correct.
I tried also efix of efax package, but the same problem persists.
Same for faxspool, that is an utility to convert many file types to g3 format (i think using the same set of applications i got pbm2g3 from) then spool to a fax queue till a new command is entered.
The converted g3 files can be seen as trunked in width.
It seems that is not viewfax bugged, as the result g3 file results trunked also if opened with other image viewers.
This is most likely not a bug, this is intended by design. pbm2g3-output sendfaxing through an USR V.everything works perfectly for me.
The mgetty-pbm2g3 is different from netpbm-pbmtog3 because there are only some resolutions making sense when preparing data for sendfax. See "man pbm2g3" for more:
-w <page width> sets the width of the resulting G3 page. Default is 1728. If you want to be able to fax it with sendfax, don’t use anything else. For other fax programs, 2048, 2432, 864 and 1216 may be useful. For other purposes, use what you like.
Most likely the init-string for your modem is wrong, resulting in an excedingly high or low resolution. See the sendfax-manual about initializing your modem in /etc/inittab