Received: by whizzer.wpd.sgi.com (/911001.SGI)
	 id AA06045; Sat, 12 Feb 94 15:48:39 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA06038; Sat, 12 Feb 94 07:48:36 -0800
Received: from alpha.Xerox.COM by sgi.sgi.com via SMTP (931110.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA23365; Sat, 12 Feb 94 07:48:35 -0800
Received: from Ireland.Roch803.Xerox.xns by alpha.xerox.com via XNS id <14410(4)>; Sat, 12 Feb 1994 07:48:23 PST
X-Ns-Transport-Id: 080037006252B3683107
Date: 	Sat, 12 Feb 1994 07:48:04 PST
From: Claude_S._Fillion.ROCH803@xerox.com
Subject: TIFFGetField bug?
To: tiff@sgi.sgi.com
Cc: claude@roch803.mc.xerox.com
Reply-To: Fillion.roch803@xerox.com
Message-Id: <"12-Feb-94 10:47:57".*.Claude_S._Fillion.ROCH803@Xerox.com>
Sender: tiff-owner@sgi.sgi.com

I'm trying to extract tag values (STRIPOFFSETS, IMAGELENGTH, ROWSPERSTRIP,
STRIPBYTECOUNTS) using the TIFFGetField command.  Of the three tiff files I've
tried to extract the values from, ROWSPERSTRIP has returned the wrong value on
all three images and STRIPBYTECOUNTS has been wrong on two.

I can look at a hex dump of the tiff files and can see what the values should
be.  As a double check, running tiffinfo(which uses TIFFGetField) on the images
produces bad results, but running tiffdump (which does not use getfield)
produces correct results.

Is this a known bug?  If not, what am I doing wrong?  If so, is there a fix?
Help is greatly appreciated.

I am running version 3.30beta on a SPARCStation 10 with Solaris 2.3.

Thanks,
claude@roch803.mc.xerox.com


