Copyright (C) 2000-2012 |
Manpages FAX2TIFFSection: User Commands (1)Updated: September 24, 1994 Index Return to Main Contents NAMEfax2tiff - create a TIFF Class F fax file from raw fax dataSYNOPSISfax2tiff [ options ] [ -o output.tif ] input.g3DESCRIPTIONFax2tiff creates a TIFF file containing CCITT Group 3 or Group 4 encoded data from one or more files containing ``raw'' Group 3 encoded data (typically obtained directly from a fax modem). By default, each row of data in the resultant TIFF file is 2-dimensionally encoded and padded or truncated to 1728 pixels, as needed. The resultant image is a set of low resolution (98 lines/inch) or medium resolution (196 lines/inch) pages, each of which is a single strip of data. The generated file conforms to the TIFF Class F (FAX) specification for storing facsimile data. This means, in particular, that each page of the data does not include the trailing return to control (RTC) code; as required for transmission by the CCITT Group 3 specifications. The old, ``classic'', format is created if the -c option is used. (The Class F format can also be requested with the -f option.)The default name of the output image is fax.tif; this can be changed with the -o option. Each input file is assumed to be a separate page of facsimile data from the same document. The order in which input files are specified on the command line is the order in which the resultant pages appear in the output file. OPTIONSOptions that affect the interpretation of input data are:
Options that affect the output file format are:
DIAGNOSTICSThe following warnings and errors come from the decoding routines in the library.Warning, %s: Premature EOL at scanline %d (x %d).\n. The input data had a row that was shorter than the expected value of 1728. The row is padded with white. %s: Premature EOF at scanline %d (x %d).\n. The decoder ran out of data in the middle of a scanline. The resultant row is padded with white. %s: Bad code word at row %d, x %d\n. An invalid Group 3 code was encountered while decoding the input file. The row number and horizontal position is given. The remainder of the input row is discarded, while the corresponding output row is padded with white. %s: Bad 2D code word at scanline %d.\n. An invalid Group 4 or 2D Group 3 code was encountered while decoding the input file. The row number and horizontal position is given. The remainder of the input row is discarded, while the corresponding output row is padded with white. BUGSShould not have the constant width 1728 built into it. Input data are assumed to have a a ``top left'' orientation; it should be possible to override this assumption from the command line.SEE ALSOCCITT Recommendation T.4 (Standardization of Group 3 Facsimile Apparatus for Document Transmission).The Spirit of TIFF Class F, an appendix to the TIFF 5.0 specification prepared by Cygnet Technologies. tiffinfo(1), tiffdither(1), tiffgt(1), libtiff(3).
IndexThis document was created by man2html, using the manual pages. Time: 18:56:34 GMT, April 19, 2024 |