Return-Path: <tiff-bounces@lists.maptools.org>
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx005.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j6LGIWew024014
        for <joris.at.lebbeke@skynet.be>; Thu, 21 Jul 2005 18:18:33 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
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 j6LGIuGj031861;
	Thu, 21 Jul 2005 12:19:07 -0400
Received: from outmx013.isp.belgacom.be (outmx013.isp.belgacom.be
	[195.238.3.64])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j6LGIrEf031858
	for <tiff@lists.maptools.org>; Thu, 21 Jul 2005 12:18:53 -0400
Received: from outmx013.isp.belgacom.be (localhost [127.0.0.1])
	by outmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j6LGDnFE022469
	for <tiff@lists.maptools.org>; Thu, 21 Jul 2005 18:13:49 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (74-154.246.81.adsl.skynet.be [81.246.154.74])
	by outmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j6LGDeN2022403; Thu, 21 Jul 2005 18:13:40 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <001001c58e0f$2e6b6150$4a9af651@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "TIFF mailing list" <tiff@lists.maptools.org>,
        "Chris Losinger" <losinger@earthlink.net>
References: <200507061023.j66AN7K11797@dtagbrg1.telefax400.de><003501c58da2$b0fbaf70$54abf551@dfgrrxsknr4e><931f8ea9050721070930c790c@mail.gmail.com>
	<6.0.0.22.1.20050721101818.027fb458@pop.earthlink.net>
Subject: Re: [Tiff] question of understanding / D7 and Var-Types
Date: Thu, 21 Jul 2005 18:13:39 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Cc: 
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/pipermail/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.000008a4
X-MSP-STORE: Thu, 21 Jul 2005 18:18:38 +0200
Status: RO

Chris,

> is there a place where i can get the list of tags supported by
> LibTiff and the parameters (types and count) that TIFFGetField and
> TIFFSetField expect ?
>
> what Frank writes below makes me think that looking at tiff_dir.c
> and checking what the va_arg calls pull off the stack isn't going to be
> 100% accurate.

You are of course aware of

http://www.remotesensing.org/libtiff/man/TIFFGetField.3tiff.html
http://www.remotesensing.org/libtiff/man/TIFFSetField.3tiff.html

Those contain lists of tags and arguments. If I understand Frank correctly (but
I'm not sure I do), then, being a C programmer, those lists should be accurate.
Delphi programmers need to supply a variable of type Double to TIFFSetField
whenever the list says 'float', but, bearing that in mind, the list on that page
should be useful for them too.

Or am I still not understanding correctly?


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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