Return-Path: <tiff-admin@remotesensing.org>
Received: from jay.skynet.be (jay.skynet.be [195.238.3.234])
        by twentyeight.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i0NMAep8009459
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 23:10:40 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by jay.skynet.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i0NMAL9B012080
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 23:10:22 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0NM9Al11788;
	Fri, 23 Jan 2004 17:09:10 -0500
Received: from mail.zedxinc.com (mail.zedxinc.com [12.151.18.196])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0KFdxl20598
	for <tiff@remotesensing.org>; Tue, 20 Jan 2004 10:39:59 -0500
Received: from seppuku (gate.zedxinc.com [12.151.18.194])
	by mail.zedxinc.com (Postfix) with SMTP id 5B1D628160
	for <tiff@remotesensing.org>; Tue, 20 Jan 2004 10:39:58 -0500 (EST)
Message-ID: <004601c3df84$e0072e70$bb05000a@seppuku>
From: "David Christopher Asher" <asher@zedxinc.com>
To: "'TIFF Mailing List'" <tiff@remotesensing.org>
References: <000901c3df2e$ee567900$240310ac@Zuse>
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 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Subject: [Tiff] Reading Custom Tags
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Tue, 20 Jan 2004 10:40:28 -0800
X-UIDL: 738c4170844058618f09fa4a7ee0e055

Hello,

I am having sime trouble reading custom tags from a TIFF file.  The tags are
two GeoTIFF tags, (33550 and 33922), which hold 3 doubles and 6 doubles
respectively.  I have found very little documentation on custom tags online,
apart from the 3.6.0 spec notes page, which would seem to indicate you read
them more or less like standard tags like TIFFTAG_IMAGEWIDTH.

So, I use something like:

    ...
    double x,y,z;
    TIFFGetField(tiff,33550,&x,&y,&z);
    ...

I am using version 3.6.0 of the library.  Any help is appreciated!

--
Dave

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
