2007.12.21 19:00 "RE: [Tiff] tiffcp usage", by Declan Shanaghy

2007.12.21 19:00 "RE: [Tiff] tiffcp usage", by Declan Shanaghy

Seems like you're adding in some options that are nto needed. For simple concatenation of file1 and file2 you can do this

tiffcp file1.tiff file2.tiff outfile.tiff


From: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.org] On Behalf Of Winston Lee Sent: Friday, December 21, 2007 6:33 AM

To: tiff@lists.maptools.org
Subject: [Tiff] tiffcp usage


I am a beginner and found libtiff is really useful for one of our projects.
Then I read the documentation and did some research on this.
When I tried to use "tiffcp" to combine two or several tiff files together,
I always got some errors like "not a tiff file"

I downloaded two new tiff files and tried again, this time, I got a bigger
tiff file, but, after open it, I found it is still the first file, not two

Please help me on this tiffcp usage, thanks a lot. I searched all the
mailing archive and read the man page of the tiffcp, but still could not get

Thanks a lot

<following is from the usage of tiffcp, it did not work for me, I wondered
whether I had several corrupted files.)

For example, -c lzw:2 to get LZW-encoded data with horizontal differencing

Note that input filenames may be of the form filename,x,y,z
where x, y, and z specify image numbers in the filename to copy.
example: tiffcp -c none -b esp.tif,1 esp.tif,0 test.tif
  subtract 2nd image in esp.tif from 1st yielding uncompressed result