TIFFCP(1) UNIX System V(May 18, 1991) TIFFCP(1)
NAME
tiffcp - copy (and possibly convert) a TIFF file
SYNOPSIS
tiffcp [ -none ] [ -packbits ] [ -lzw ] [ -g3 ] [ -g4 ] [ -contig ] [
-separate ] [ -lsb2msb ] [ -msb2lsb ] [ -rowsperstrip n ] [ -2d ] [ -fill
] [ -predictor n ] from-file to-file
DESCRIPTION
Tiffcp copies a file created according to the Tag Image File Format,
Revision 5.0. Because the output file may be compressed using a
different algorithm than the input file, tiffcp is most often used to
convert between different compression schemes.
By default, tiffcp will copy all the tags in a TIFF directory of the
input file to the associated directory in the output file. The -none,
-packbits, -lzw, -g3, and -g4, options are used to override the value of
the Compression tag and thereby redefine the compression scheme to use in
creating the output file. The CCITT Group 3 and Group 4 compression
algorithms can only be used with bilevel data. The -2d and -fill options
are meaningful only with Group 3 compression: -2d requests 2-dimensional
encoding, while -fill requests that each encoded scanline be zero-filled
to a byte boundary. The -predictor option is only meaninful with LZW
compression: a predictor value of 2 causes each scanline of the output
image to undergo horizontal differencing before it is encoded; a value of
1 forces each scanline to be encoded without differencing.
By default, tiffcp will create a new file with the same planar
configuration as the original. The -contig and -separate options can be
used to convert between different planar configurations if the original
file has one 8-bit sample per pixel.
By default, tiffcp will create a new file with the same fill order as the
original. The -lsb2msb and -msb2lsb options can be used to specify the
fill order of data in the output file.
The -rowsperstrip option can be used to set the number of rows
(scanlines) in each strip of data in the output file. By default, the
output file has the number of rows per strip set to a value that will
ensure each strip is no more than 8 kilobytes.
SEE ALSO
pal2rgb(1), tiffinfo(1), tiffcmp(1), tiffmedian(1), libtiff(3)
10/89 Page 1