Technical information

INSTALLATION AND ADMINISTRATION GUIDE
208
The result.tif output file is created by entering the following on a single line:
vtifftool overlay -E fine -o result.tif form1.tif:2 target.tif:2,4-7
Notice that page 2 of form1.tif has been overlaid onto pages 2, 4, 5, 6, and 7 of target.tif to produce the
result.tif output file When this file is faxed, the fax will appear as if the form overlay and the text overlay are one
a single image.
Multiple overlays
To perform multiple overlays from both forms1.tif andtarget.tif to result.tif, type the following:
form1.tif target.tif result.tif
The result.tif output file is created by entering the following on a single line:
vtifftool overlay -E fine -o - forms1.tif:2 target.tif:2,4-6 | vtifftool overlay -E
fine -o result.tif forms1.tif:5 -:7,9
Because the vtifftool overlay utility can only process one overlay operation at a time, the first execution of
vtifftool uses a- character as the argument to its output switch (-o). This redirects output to the standard output
device (stdout). The output is then piped to the second execution of the vtifftool, which reads it in as standard
input (stdin), performs the overlay operation onto it, then writes its output to the file result.tif.
In this example, the - character in the final vtifftool argument (-:7,9) tells vtifftool to read from the standard
input device (stdin) instead of a file.
The result of this procedure is that page 2 of forms1.tif has been overlaid onto pages 2, 4, 5, and 6 of the
target.tif. The output of this operation has then been piped to the second procedure, in which page 5 of
forms1.tif has been overlaid onto its standard input to create the output file result.tif. The original
target.tif and forms1.tif are left in their original state and can therefore be reused later.