The tif2itif command converts a Tag Image File Format (TIFF) file to the TIFF Class F (ITIF) format used by the FAX Actions package. The conversion does not handle files that contain color information. The input TIFF file must have the BitsPerSample and SamplesPerPixel fields set to 1 in the directory header.
Synopsis
tif2itif [-f|n] [-h +|- num ] [-v +|- num ]
infile outfile
Description
The parameters for the tif2itif command are described in the following table:
Parameter |
Description |
Comments |
-f |
Forces the output to fine resolution |
A file converted to fine resolution has twice as many horizontal data lines as the original. The image should look identical to the original. |
-n |
Forces the output to normal (not fine) resolution |
Converting a fine resolution file to normal resolution removes every other horizontal data line from the file. The resulting image is not as sharp as the original. If you do not specify either the -f or the -n option, the converted file retains the resolution of the original file. |
-h+ num or -h- num |
Creates a horizontal offset where a plus sign ( + ) indicates right, a minus sign ( - ) indicates left, and num specifies the number of units in inches or centimeters |
Use c to indicate centimeters and i or no unit (blank) to indicate inches. For example, to specify 1.5 inches, use 1.5 or 1.5i. To specify 1 centimeter use 1c. |
-v + num or -v - num |
Creates a vertical offset where a plus sign ( + ) indicates down, a minus sign ( - ) indicates up, and num specifies the number of inches or centimeters |
Use c to indicate centimeters and i or no unit (blank) to indicate inches. For example, to specify 1.5 inches, use 1.5 or 1.5i. To specify 1 centimeter, use 1c. |
infile |
The name of the file to be converted |
� |
outfile |
The name you select for the converted file |
� |
You may want to assign a .tif suffix to the input file and a .itf suffix to the output file to distinguish them. No particular suffix is required, however.
Example
The following examples remove an existing fax banner from a TIFF file by creating a vertical offset of a quarter inch.
tif2itif -v -.25 infile.tif outfile.itf
tif2itif -v -.25i infile.tif outfile.itf
See also