Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.2.218])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j0SJr1sN008733
        for <joris.at.lebbeke@skynet.be>; Fri, 28 Jan 2005 20:53:01 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j0SJqoBP007765
        for <joris.at.lebbeke@skynet.be>; Fri, 28 Jan 2005 20:52:52 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id D3EE061032B; Fri, 28 Jan 2005 14:45:50 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196])
	by xserve.flids.com (Postfix) with ESMTP id 9592A60B7D7
	for <tiff@remotesensing.org>; Thu, 27 Jan 2005 15:05:27 -0500 (EST)
Received: by rproxy.gmail.com with SMTP id g11so316722rne
	for <tiff@remotesensing.org>; Thu, 27 Jan 2005 12:05:08 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
	b=eHMby33LJFNDUkU0jmZxNxl/rgb8Ibbll8XAopr4sliSeZrb05KgqEPOeXaYLikf3PtrwtuMHqeuD23SsMBhesZOhBHkun4naRYSxwd7gWsKAPZARg5KYtL7RgGqjql1mBg4FUUbMZ/F6AYeUJwCB4HaiwPA1yFk7+CvdrwO9ws=
Received: by 10.38.71.4 with SMTP id t4mr48979rna;
	Thu, 27 Jan 2005 12:05:08 -0800 (PST)
Received: from ?192.168.1.10? ([80.119.97.71])
	by smtp.gmail.com with ESMTP id 71sm86301rnc.2005.01.27.12.05.07;
	Thu, 27 Jan 2005 12:05:08 -0800 (PST)
Message-ID: <41F9498D.9000905@gmail.com>
Date: Thu, 27 Jan 2005 21:05:33 +0100
From: Antoine <melser.anton@gmail.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041227)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Tiff mailing list <tiff@remotesensing.org>
Subject: Re: [Tiff] TIFFSetField bug?
References: <92d3a495050127072639c5017e@mail.gmail.com>
	<Pine.SOC.4.60.0501271033030.7604@blade.simplesystems.org>
In-Reply-To: <Pine.SOC.4.60.0501271033030.7604@blade.simplesystems.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 0617aab8e79cc4463c9505ef1b3fda3b

Bob Friesenhahn wrote:
> Does the same bug exist in 3.7.1 or the CVS/development version?
> 

I think I have the answer now... TIFFSetField seems to dynamically 
increase or decrease depending on whether the value can be stored in a 
long or short. tiffset'ing to 8192000 makes it long, and tiffset'ing 
back to 8192 makes it a short again. Is there any way to stop this 
behaviour?
Cheers
Antoine
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
