Received: from mailgate010.isp.belgacom.be (mailgate010.isp.belgacom.be [195.238.6.3])
	by maildelivery020.isp.belgacom.be (Postfix) with ESMTP id 6EF907AC002
	for <joris.at.lebbeke@skynet.be>; Fri,  3 Aug 2007 19:46:06 +0200 (CEST)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 03 Aug 2007 19:46:07 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l73HV0mW020433;
	Fri, 3 Aug 2007 13:31:39 -0400
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l73HUwcd020430
	for <tiff@lists.maptools.org>; Fri, 3 Aug 2007 13:30:58 -0400
Received: by wa-out-1112.google.com with SMTP id v27so908379wah
	for <tiff@lists.maptools.org>; Fri, 03 Aug 2007 10:30:57 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=TbEI0xuSxIGCB7Wnsw04OgJlBJM/80kDxyQ+C2x4mLg+QJV1pd+bNvWqjy5EdqaXZRMkthk6kC7eI7N5UxZQqSn1S82saiTLcwfmaoM49zSyIVgt9R3hH0KS6xYFdTZ6Viqj1FEqV7hm3i8m/6RPZoJPXEJ+XRYaSQAwc4g4f2c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=S9IMhpAy497oiGQCoiOC3FLhIznGO5PrCH0txfoDehpCvM/YLm1auNfuffev1+uZIAykfmXkCOLueOogNYT7sVK6g+IIHe8lNqePxKFvMaj1BVD38pe8lcZvVCOMYNWyGEL69IGsvWoDrQHChGRe366EAXlQxcyelzKnEpACy4s=
Received: by 10.114.192.1 with SMTP id p1mr3189710waf.1186162256782;
	Fri, 03 Aug 2007 10:30:56 -0700 (PDT)
Received: by 10.114.15.12 with HTTP; Fri, 3 Aug 2007 10:30:56 -0700 (PDT)
Message-ID: <522c6460708031030g4555041ye85cfffe34ebed44@mail.gmail.com>
Date: Fri, 3 Aug 2007 18:30:56 +0100
From: jcupitt@gmail.com
To: tiff@lists.maptools.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: [Tiff] bug? copying tiled tiffs over 2GB seems to break
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.000026ce
X-MSP-STORE: Fri, 03 Aug 2007 19:46:06 +0200
Status:   

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
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
