The technique the fax is based on was invented in 1929 by Rudolf Hell.
The most basic fax mode transfers black and white only. The original page is scanned in a resolution of 1728 pixels/line and 1145 lines/page (A4). The resulting raw data is compressed using a modified Huffman code optimized for written text, achieving average compression factors of around 20. Typically a page needs 10 s for transmission, instead of about 3 minutes for the same uncompressed raw data of 1728×1145 bits at a speed of 9600 bit/s. The compression method uses a Huffman codebook for run lengths of black and white runs in a single scanned line, and it also uses the fact that two adjacent scanlines are usually quite similar, saving bandwidth by encoding only the differences.
There are different fax classes, like Class 1, Class 2 and Intel CAS.
Several different telephone line modulation techniques are used by fax machines. They are negotiated during the fax-modem handshake. Today, only the fastest 14000 bit/s modulation is used, normally.
Modern computer fax can be attached to a printer or multifunctional machine, using two standard USB ports, to autonomously send, receive and print faxes (without needing a computer).
A modern alternative for sending a fax is sending an email with one or more image files as attachments. This allows color and is more versatile with respect to resolution.
See also: facsimile, telautograph, fax machine\n
Alternative