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

2007.12.21 20:11 "Re: [Tiff] tiffcp usage", by Winston Lee

Now, I have two .tif files, 1.tif and 2.tif, I used command "tiffcp 1.tif 2.tif all.tif" tried to combine two files together, there is no complain and the all.tif file created and the size is the total of 1.tifand 2.tif. When I tried to open it, it shows me the 1.tif but I could not see anything for 2.tif.

I am using cygwin and libtiff version is 3.82

Sorry for the bothering and thanks all.


On Dec 21, 2007 2:36 PM, Winston Lee <yinleew@gmail.com> wrote:

> Is it .tiff file or .tif file? All I have are .tif image files got from > the scanner.

> Thanks a lot, Declan

On Dec 21, 2007 2:00 PM, Declan Shanaghy <declan@shanaghy.com> wrote:

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