| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Fax Formats" 1 "03 December 2008" "netpbm documentation" |
| 7 |
.PP |
| 8 |
This page, part of the |
| 9 |
.BR "Netpbm user's guide" (1)\c |
| 10 |
\&, |
| 11 |
describes FAX formats in relation to Netpbm facilities. |
| 12 |
.PP |
| 13 |
The ITU (formerly CCITT) publishes standards for operation of fax machines |
| 14 |
(the idea is to provide a way to be sure that a fax machine is able to receive |
| 15 |
a fax sent by another). These standards incidentally specify graphics file |
| 16 |
formats -- a protocol for representing a visual image in sequences of bits. |
| 17 |
.PP |
| 18 |
The two relevant standards are called Group 3 (G3) and Group 4 (G4) (Groups |
| 19 |
1 and 2 are analog standards no longer in use). Virtually every fax machine |
| 20 |
in existence conforms at least generally to at least one of these standards. |
| 21 |
.PP |
| 22 |
The standard for Group 3 fax is defined in ITU Recommendation T.4. In the |
| 23 |
U.S., that is implemented by EIA standards EIA-465 and EIA-466. These |
| 24 |
standards cover more than the file format as well, including how to transmit |
| 25 |
bits over a telephone line and procedures for handling document transmissions. |
| 26 |
.PP |
| 27 |
G3 faxes are 204 dots per inch (dpi) horizontally and 98 dpi (196 |
| 28 |
dpi optionally, in fine-detail mode) vertically. |
| 29 |
.PP |
| 30 |
The standards specify three file formats (also called coding methods and |
| 31 |
compression schemes -- remember the standard doesn't mention computer files; |
| 32 |
it talks about the format of a stream of bits travelling over a telephone |
| 33 |
line): |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
.TP |
| 38 |
MH |
| 39 |
This compresses in one dimension: it compresses individual raster lines |
| 40 |
but makes no attempt to compress redundancy between lines. |
| 41 |
.sp |
| 42 |
One dimensional compression is traditionally the best a fax machine could |
| 43 |
handle because G3 neither assumes error free transmission not retransmits when |
| 44 |
errors occur, and receiving fax machines traditionally could not afford to |
| 45 |
buffer much of a page. It's important that when there is an error in a raster |
| 46 |
line, its impact not spread to many lines after it. |
| 47 |
.sp |
| 48 |
All Group 3 and Group 4 fax machines must be able to send and receive MH. |
| 49 |
.sp |
| 50 |
MH is sometimes called "G3," but that is a poor name because |
| 51 |
while the Group 3 standard does specify MH, it has always specified other |
| 52 |
formats too. |
| 53 |
.sp |
| 54 |
MH is sometimes called "T4" based on the name of the |
| 55 |
document that specifies it, ITU T.4. But this is a poor name because |
| 56 |
T.4 also specifies MR. |
| 57 |
|
| 58 |
|
| 59 |
.TP |
| 60 |
MR |
| 61 |
This compresses in two dimensions, horizontally and vertically. |
| 62 |
.sp |
| 63 |
MR has always been part of the Group 3 standard, but is optional |
| 64 |
(a Group 3 fax machine may or may not be able to send and receive it). |
| 65 |
|
| 66 |
.TP |
| 67 |
MMR |
| 68 |
This is a more advanced format than the others. It is even more |
| 69 |
two-dimensional than MR. It is optional in the Group 3 standard, and didn't |
| 70 |
even exist in earlier versions of it. It was developed specifically for the |
| 71 |
Group 4 standard, but then added to an extended Group 3 standard as well. |
| 72 |
.sp |
| 73 |
MMR is sometimes called Group 4, but that is a poor name because of |
| 74 |
the fact that it is also part of the current Group 3 standard. |
| 75 |
.sp |
| 76 |
MMR is sometimes called "T6" based on the name of the document |
| 77 |
that specifies it, ITU T.6. |
| 78 |
|
| 79 |
|
| 80 |
.PP |
| 81 |
\fBg3topbm\fP converts the MH format to PBM. \fBpbmtog3\fP converts |
| 82 |
PBM to MH. |
| 83 |
.PP |
| 84 |
There is no Netpbm program to convert to or from other fax formats. |
| 85 |
|
| 86 |
.SH TIFF |
| 87 |
.PP |
| 88 |
The TIFF format is flexible enough to allow lots of different coding |
| 89 |
methods, within it. There are TIFF subformats for MH, MR, and MMR, among |
| 90 |
others. These are particularly useful when you receive a fax as a TIFF file. |
| 91 |
.PP |
| 92 |
\fBtifftopnm\fP recognizes and can convert from any of these. |
| 93 |
.PP |
| 94 |
\fBpamtotiff\fP can convert to any of these; you use command options |
| 95 |
to choose which. |
| 96 |
.SH DOCUMENT SOURCE |
| 97 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 98 |
source. The master documentation is at |
| 99 |
.IP |
| 100 |
.B http://netpbm.sourceforge.net/doc/faxformat.html |
| 101 |
.PP |