Return-Path: <tiff-bounces@lists.maptools.org>
Received: from mailgate001.isp.belgacom.be (mailgate001.isp.belgacom.be [195.238.6.100])
        by inmx010.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l44LEDtc015098
        for <joris.at.lebbeke@skynet.be>; Fri, 4 May 2007 23:14:14 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 04 May 2007 23:14:14 +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 l44L6uod008778;
	Fri, 4 May 2007 17:07:32 -0400
Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l44L6r7t008772
	for <tiff@lists.maptools.org>; Fri, 4 May 2007 17:06:53 -0400
Received: by nz-out-0506.google.com with SMTP id z6so1104462nzd
	for <tiff@lists.maptools.org>; Fri, 04 May 2007 14:06:52 -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;
	b=pj58vcOI8ieypyMscRrieFznMYqB39yXB+OMbT5qYwb61qHPVBfZhIy0SVA8WSq1knaZe3PqRGcAd/DlW5CPaAaU41wZCg+nfLPr0qX1DZPMkupqIcslLIHwK7il7VBJi2g76Va5pCyIB24ezjf5pcU+DFaHO7nJqFjSmsofiGI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:mime-version:content-type;
	b=ImJuBmIFWo1nIkbtft3YWjaBhv7lX1CGw8h74QHb7Niv4QFrKj72mdwh32GR52dz4Md1Flk+RZwpz09dmxHhpSU5mjFOcy/Sqk+JwXsotKcimbHpdDo8NiQlrb5Oxgf2TTpERtHpdsUzjGfzcCrkh6KXyLQWKXnF3zAOT2+UPo4=
Received: by 10.114.126.1 with SMTP id y1mr1282464wac.1178312811698;
	Fri, 04 May 2007 14:06:51 -0700 (PDT)
Received: by 10.114.132.20 with HTTP; Fri, 4 May 2007 14:06:51 -0700 (PDT)
Message-ID: <106301e00705041406o67b84d6fx8fd831d3c8b0e88d@mail.gmail.com>
Date: Fri, 4 May 2007 23:06:51 +0200
From: "mahmoudi wafa" <mahmoudi.wafa@gmail.com>
To: tiff@lists.maptools.org
MIME-Version: 1.0
Subject: [Tiff] TIFFSetField and float values
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>
Content-Type: multipart/mixed; boundary="===============1078433558=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002361
X-MSP-STORE: Fri, 04 May 2007 23:14:20 +0200
Status: RO

--===============1078433558==
Content-Type: multipart/alternative; 
	boundary="----=_Part_58750_13336609.1178312811535"

------=_Part_58750_13336609.1178312811535
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

to have libtiff configured you should added file header, le libtif.lib and
add the path of the header file . if you haven't a message like "can't found
tiffio.h"
so you didn't welle your libtiff.
to set Xresolution and Yresolution use
TIFFSetField (out, TIFFTAG_XRESOLUTION , 100.0);
TIFFSetField (out, TIFFTAG_YRESOLUTION ,100.0);
so as you can see the parameter is a float

------=_Part_58750_13336609.1178312811535
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

to have libtiff configured you should added file header,
le libtif.lib and add the path of the header file . if you haven&#39;t a
message like &quot;can&#39;t found tiffio.h&quot;<br>so you didn&#39;t welle your libtiff.<br>
to set Xresolution and Yresolution use <br>TIFFSetField (out, TIFFTAG_XRESOLUTION , 100.0);<br>TIFFSetField (out, TIFFTAG_YRESOLUTION ,100.0);<br>so as you can see the parameter is a float<br>

------=_Part_58750_13336609.1178312811535--

--===============1078433558==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1078433558==--
