tiffcut - Extract a Rectangular Part of a Larger Image

SYNOPSIS
tiffcut [-x n] [-y n] [-h n] [-w n] -o outputfile inputfile

DESCRIPTION
The tiffcut utility extracts an arbitrary rectangle from a TIFF file and creates a new TIFF file containing the portion of the image cut out of the original TIFF file.

OPTIONS

-x n
Sets the distance from the left edge of the image where the cut rectangle starts. By default, the cut starts at the left edge of the image.
-y n
Sets the distance from the top edge of the image where the cut rectangle starts. By default, the cut starts at the top edge of the image.
-h n
Sets the height of the cut rectangle. By default, the cut rectangle ends with the bottom of the image.
-w n
Sets the width of the cut rectangle. By default, the cut rectangle ends with the right edge of the image.
In all of the above, the distance (by default) is in inches. If desired, you can suffix the number with c for centimeters, i for inches, and p for pixels.

EXAMPLE
This example extracts a signature from a page that has been scanned in (or received by fax). This example assumes that the signature is contained within an area that is one inch top to bottom and three inches left to right, and that the upper left-hand corner of the signature area is four inches down from the top of the page and two inches in from the left edge of the page.


tiffcut -x 2i -y 4i -h 1i -w 3i -o signature page.tif