2007.08.03 17:30 "[Tiff] bug? copying tiled tiffs over 2GB seems to break", by John

2007.08.03 17:30 "[Tiff] bug? copying tiled tiffs over 2GB seems to break", by John

Hi,

I have a problem with a pyramid builder I wrote. It seems to break for pyramids larger than 2GB with tiff 3.8.2. I think (I hope this is right) it's supposed to work for files up to 4GB.

Here's a small test program:

  http://www.vips.ecs.soton.ac.uk/vips-7.11/gather.c

Run it with:

  gather output.tiff in1.tiff in2.tiff...

The input files need to be tiled TIFF. It just copies each one into the output file. If output.tiff is under 2GB, all is well. If output.tif goes just over 2GB, it becomes unreadable.

  john@mm-jcupitt2:~/pics$ tiffinfo output.tiff
  output.tiff: Error fetching data for field "BitsPerSample".

Is this a bug? Or am I doing something horribly wrong? Thanks!

John