tifftiff - TIFF Image Reformatter
SYNOPSIS
tifftiff
[-a] [-c compression] [-s length] [-h] [-l]
[-O overlay] [-o output] file1 file2 ...
DESCRIPTION
Tifftiff
concatenates and reformats the TIFF images in the input files
(file1, file2
, etc.) creating a new output TIFF file.
It handles images that are smaller or longer than the standard page size,
and ensures that the output file is strictly TIFF-F
compliant.
OPTIONS
- -a
- Images are to be appended to the output file
(rather that overwriting it).
- -c compression
- Arguments to -c can be a hex number (prefixed by 0x),
an octal number (prefixed by 0), or a decimal number (no prefix).
Compression may be one of the following values:
- 1 - no compression;
- 2 - CCITT Group 3 1-D Modified Huffman with no EOL codes;
- 3 - CCITT Group 3 1-D Modified Huffman with EOL codes and no padding;
- 0x43 - CCITT Group 3 1-D Modified Huffman with byte-aligned EOL codes
(the default); and
- 32773 - PackBits compression.
- -h, -l
- Specifies the resolution of the output file.
Only one may be specified. If neither is specified, use the resolution of the
first TIFF file (not the overlay file).
- -o
- Specifies the output file. No output file causes tifftiff to use
a scratch file, and then copy this scratch file back to the original file.
- -O overlay-file
- Uses the named file (which must be a TIFF-F image in
either standard or fine resolution) as the letterhead overlay.
If the overlay file contains only one TIFF image, this image is overlayed
on every page rendered by tifftiff. If the overlay file contains more than
one TIFF image, the first image is overlayed on the first page rendered by
tifftiff, and the second overlay file image is overlayed on every subsequent
page rendered by tifftiff.
- -s length
- Specifies the page length. If the image is longer than this,
it is cut into multiple pages. If the image is shorter than this, it is
centered vertically on the page. If the -s option is not specified, the
page length is the longer of the image size and the overlay size (if one
is specified). If the overlay is larger, the image will be centered
vertically.
If the image is narrower than the page, then the image is centered
horizontally.
SEE ALSO
asciitiff,
convert,
pcltiff,
dpstiff,