Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 8850 invoked from network); 11 Sep 2008 05:53:39 -0000
Received: from janet.telenet-ops.be ([195.130.136.6])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 11 Sep 2008 05:53:39 -0000
Received: from vijay.telenet-ops.be (vijay.telenet-ops.be [195.130.136.9])
	by janet.telenet-ops.be (8.13.1/8.13.1) with ESMTP id m8B5rd5p014999
	for <info@awaresystems.be>; Thu, 11 Sep 2008 07:53:39 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by vijay.telenet-ops.be (Postfix) with SMTP id 343B86000A
	for <info@awaresystems.be>; Thu, 11 Sep 2008 07:53:39 +0200 (CEST)
Received: from ladon.telenet-ops.be (ladon.telenet-ops.be [195.130.132.50])
	by vijay.telenet-ops.be (Postfix) with ESMTP id 1D6B960007
	for <info@awaresystems.be>; Thu, 11 Sep 2008 07:53:39 +0200 (CEST)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by ladon.telenet-ops.be (Postfix) with ESMTP id AEC9031283A
	for <info@awaresystems.be>; Thu, 11 Sep 2008 07:53:38 +0200 (CEST)
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 m8B5noIH001221;
	Thu, 11 Sep 2008 01:51:49 -0400
Received: from cgp2.pu.ru (cgp2.pu.ru [195.70.197.22])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m8B5nma7001217
	for <tiff@lists.maptools.org>; Thu, 11 Sep 2008 01:49:49 -0400
Received: from [195.70.196.218] (HELO wg.pu.ru)
	by cgp2.pu.ru (CommuniGate Pro SMTP 5.2.0)
	with ESMTP id 85798399 for tiff@lists.maptools.org;
	Thu, 11 Sep 2008 09:49:44 +0400
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id FAA09994
	for tiff@lists.maptools.org; Thu, 11 Sep 2008 05:49:44 GMT
Received: from ak4719.spb.edu (localhost.localdomain [127.0.0.1])
	by ak4719.spb.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B5Vnmi002681
	for <tiff@lists.maptools.org>; Thu, 11 Sep 2008 09:31:49 +0400
Received: (from dron@localhost)
	by ak4719.spb.edu (8.13.8/8.13.8/Submit) id m8B5Vntg002680
	for tiff@lists.maptools.org; Thu, 11 Sep 2008 09:31:49 +0400
From: Andrey Kiselev <dron@ak4719.spb.edu>
Date: Thu, 11 Sep 2008 09:31:49 +0400
To: tiff@lists.maptools.org
Subject: Re: [Tiff] SAMPLEFORMAT_IEEEFP
Message-ID: <20080911053149.GA2476@ak4719.spb.edu>
Mail-Followup-To: tiff@lists.maptools.org
References: <19363616.post@talk.nabble.com> <C4EB1B7A.761CD%ccox@adobe.com>
	<19386914.post@talk.nabble.com> <C4EC5D93.76290%ccox@adobe.com>
	<19407276.post@talk.nabble.com>
	<3B96007137B4CE4E85114278E640DC330131CB2D@namail3.corp.adobe.com>
	<19422783.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19422783.post@talk.nabble.com>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S, d@_1-C=}/,
	c%<3Qp]eu!ok<"2lYJm$!9qVcg F?7o*L; |$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;
	>fuY=fc(=sX^`7Wmw8%SsR`AvM$a; 0U/eN\ P?B\FTyqD, 0np$U2!*'z_4D,
	VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
	Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;
	j~\M! gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Null-Tag: 901bf916a25c0b6f94067b5e7f5e4e32
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-SpamCatcher-Score: 50 [XX]

On Wed, Sep 10, 2008 at 01:46:04PM -0700, acanicio wrote:
> I'm trying to set some other tags, in order to enhance compatibility
> with some specific software I use.  For example I have to set the both
> TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to some specific
> values.
> 
> The setfield method seems to work, but when I open the file with
> AsTIffTagViewer, both values stay at 0, even if I set
> TIFFTAG_SMAXSAMPLEVALUE to 1 or any other value.  Any idea about this
> issue ?

It was found recently that this viewer does not work correctly with
floating point tags:

 http://www.asmail.be/msg0054550752.html

Use standard tools like tiffinfo/tiffdump and do not forget to report
the issue to Joris, AsTIffTagViewer author.

> I have the same problem with TIFFTAG_XRESOLUTION and
> TIFFTAG_YRESOLUTION. I can set any value I want. When I read the file
> back, the values are 0.

It is likely the same problem. Try libtiff tools first.

Best regards,
Andrey

-- 
Andrey V. Kiselev
ICQ# 26871517
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
