Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-n.b-one.net (mx-n.one.com [91.198.169.61])
	by mail9.b-one.net (Postfix) with ESMTP id B3362400B6E
	for <info@awaresystems.be>; Thu, 27 Aug 2009 21:17:22 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-n.b-one.net (Postfix) with ESMTP id 1A8558C680E
	for <info@awaresystems.be>; Thu, 27 Aug 2009 21:17:22 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 70EDF1D18DE9F;
	Thu, 27 Aug 2009 14:16:51 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 85A831D18DE96
	for <tiff@lists.maptools.org>; Thu, 27 Aug 2009 14:15:09 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.13.8+Sun/8.13.8) with ESMTP id
	n7RJF9gx016453; Thu, 27 Aug 2009 14:15:09 -0500 (CDT)
Date: Thu, 27 Aug 2009 14:15:09 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Edward Lam <edward@sidefx.com>
In-Reply-To: <4A96D81B.1010002@sidefx.com>
Message-ID: <Pine.SOC.4.64.0908271408370.1124@freddy.simplesystems.org>
References: <Pine.SOC.4.64.0908271252270.1124@freddy.simplesystems.org>
	<4A96D81B.1010002@sidefx.com>
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Thu, 27 Aug 2009 14:15:09 -0500 (CDT)
Cc: Tiff List <tiff@lists.maptools.org>
Subject: Re: [Tiff] Libtiff 4.4.0beta4 Released
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Thu, 27 Aug 2009, Edward Lam wrote:

> Bob Friesenhahn wrote:
>> The most common problem is with code which
>> assumes that a returned file offset or size can be stored in a 32-bit
>> type.
>
> Are there tag values that have been changed from 32-bit to 64-bit? Does
> it still work if we call something like:
>
>     TIFFSetField(myTiff, TIFFTAG_ROWSPERSTRIP, rowsperstrip);
>
> where rowsperstrip is a 32-bit integer?

TIFFTAG_ROWSPERSTRIP is still limited to 32-bits.  However, tags which 
return file offsets or object sizes are necessarily 64-bits.  These 
tags are 64-bits:

   TIFFTAG_STRIPOFFSETS
   TIFFTAG_STRIPBYTECOUNTS
   TIFFTAG_FREEOFFSETS
   TIFFTAG_FREEBYTECOUNTS
   TIFFTAG_TILEOFFSETS
   TIFFTAG_TILEBYTECOUNTS

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
