From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Eric VERGNAUD" <eric.vergnaud@jlynx.com>
References: <BDC2C1B1.2B865%eric.vergnaud@jlynx.com>
Subject: Re: [Tiff] Using TIFFGetField to get a "Rational"
Date: Thu, 18 Nov 2004 23:30:22 +0100
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.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441

Bon soir Eric,

> Yes, here it is:
>
>     case TIFFTAG_XRESOLUTION:
>             *va_arg(ap, float*) = td->td_xresolution;
>             break;
>     case TIFFTAG_YRESOLUTION:
>             *va_arg(ap, float*) = td->td_yresolution;
>             break;
>
> So you should pass a float* to TIFFGetField.

Very usefull. Please consider posting it to the list, instead of posting it only
to my private e-mail address. You can do this by either

- hitting 'reply all' instead of 'reply', on a message, if your mail client is
Outlook or similar
- or by manually making sure tiff@remotesensing.org is in the 'To' list.

Otherwise, your usefull remark is just wasted.


Thanks,

Joris
