Status: Read
Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Wed, 16 Jun 1999 20:26:33 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id UAA11087;
	Wed, 16 Jun 1999 20:13:56 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 16 Jun 1999 20:08:17 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id UAA11056
	for tiff-outgoing; Wed, 16 Jun 1999 20:08:17 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from gypsy.commercepath.com (mail@[198.145.68.201])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id UAA11053
	for <tiff@olympiakos.com>; Wed, 16 Jun 1999 20:08:13 -0400
Received: from slowpoke (slowpoke.commercepath.com [198.145.68.161])
	by gypsy.commercepath.com (8.8.8/8.8.8) with SMTP id RAA20576
	for <tiff@olympiakos.com>; Wed, 16 Jun 1999 17:08:19 -0700
Reply-To: <denny@commercepath.com>
From: "Tom Denny" <denny@commercepath.com>
To: <tiff@olympiakos.com>
Subject: Controlling Rational Values
Date: Wed, 16 Jun 1999 17:07:26 -0700
Message-ID: <000a01beb855$63a2d7e0$a14491c6@slowpoke.commercepath.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-tiff@olympiakos.com


Does anyone know of a way to explicitly set which numerator and denominator
get used when setting rational TIFF Tags?

For example, I'm setting the YRESOLUTION tag to 200 which I pass to
TIFFSetField as a float.  Libtiff stores the value 419430400 as the
numerator and 2097152 as the denominator in the YRESOLUTION tag.  This, of
course, is correct; however, I was hoping I could store 200 as the numerator
and 1 as the denominator.

I found a reader which incorrectly assumes the denominator is 1 and I would
like to make compatible TIFF images if it's easy enough to control.

Thanks!
-Tom


