1 .\" $Header: /CVS_DB/Eos/util/HP/man/man1/tiffcp.1,v 1.1.1.1 2002/02/01 06:30:52 tacyas Exp $
3 .\" Copyright (c) 1988-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
6 .\" Permission to use, copy, modify, distribute, and sell this software and
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26 .TH TIFFCP 1 "January 9, 1996"
28 tiffcp \- copy (and possibly convert) a
36 .I "src1.tif ... srcN.tif dst.tif"
39 combines one or more files created according
40 to the Tag Image File Format, Revision 6.0
44 Because the output file may be compressed using a different
45 algorithm than the input files,
47 is most often used to convert between different compression
52 will copy all the understood tags in a
55 file to the associated directory in the output file.
58 can be used to reorganize the storage characteristics of data
59 in a file, but it is explicitly intended to not alter or convert
60 the image data content in any way.
64 Force output to be written with Big-Endian byte order.
65 This option only has an effect when the output file is created or
66 overwritten and not when it is appended to.
69 Suppress the use of ``strip chopping'' when reading images
70 that have a single strip/tile of uncompressed data.
73 Specify the compression to use for data written to the output file:
77 for PackBits compression,
79 for Lempel-Ziv & Welch compression,
81 for baseline JPEG compression,
83 for Deflate compression,
85 for CCITT Group 3 (T.4) compression,
88 for CCITT Group 4 (T.6) compression.
91 will compress data according to the value of the
93 tag found in the source file.
97 Group 3 and Group 4 compression algorithms can only
98 be used with bilevel data.
100 Group 3 compression can be specified together with several
101 T.4-specific options:
103 for 1-dimensional encoding,
105 for 2-dimensional encoding,
108 to force each encoded scanline to be zero-filled so that the
109 terminating EOL code lies on a byte boundary.
110 Group 3-specific options are specified by appending a ``:''-separated
111 list to the ``g3'' option; e.g.
113 to get 2D-encoded data with byte-aligned EOL codes.
116 compression can be specified together with a
119 A predictor value of 2 causes
120 each scanline of the output image to undergo horizontal
121 differencing before it is encoded; a value
122 of 1 forces each scanline to be encoded without differencing.
123 LZW-specific options are specified by appending a ``:''-separated
124 list to the ``lzw'' option; e.g.
128 compression with horizontal differencing.
131 Specify the bit fill order to use in writing output data.
134 will create a new file with the same fill order as the original.
137 will force data to be written with the FillOrder tag set to
141 will force data to be written with the FillOrder tag set to
145 Specify the length of a tile (in pixels).
147 attempts to set the tile dimensions so
148 that no more than 8 kilobytes of data appear in a tile.
151 Force output to be written with Little-Endian byte order.
152 This option only has an effect when the output file is created or
153 overwritten and not when it is appended to.
156 Suppress the use of memory-mapped files when reading images.
159 Specify the planar configuration to use in writing image data
160 that has one 8-bit sample per pixel.
163 will create a new file with the same planar configuration as
167 will force data to be written with multi-sample data packed
170 will force samples to be written in separate planes.
173 Specify the number of rows (scanlines) in each strip of data
174 written to the output file.
177 attempts to set the rows/strip
178 that no more than 8 kilobytes of data appear in a strip.
181 Force the output file to be written with data organized in strips
185 Force the output file to be written wtih data organized in tiles
186 (rather than strips).
187 options can be used to force the resultant image to be written
188 as strips or tiles of data, respectively.
191 Specify the width of a tile (in pixels).
193 attempts to set the tile dimensions so
194 that no more than 8 kilobytes of data appear in a tile.
196 The following concatenates two files and writes the result using
201 tiffcp -c lzw a.tif b.tif result.tif
205 To convert a G3 1d-encoded
207 to a single strip of G4-encoded data the following might be used:
210 tiffcp -c g4 -r 10000 g3.tif g4.tif
213 (1000 is just a number that is larger than the number of rows in