Received: by cthulhu.engr.sgi.com (940816.SGI.8.6.9/911001.SGI)
	for tiff-list id GAA02491; Mon, 19 Sep 1994 06:04:06 -0700
Return-Path: <owner-tiff>
Received: from sgi.sgi.com by cthulhu.engr.sgi.com via ESMTP (940816.SGI.8.6.9/911001.SGI)
	for <tiff-relay@cthulhu.engr.sgi.com> id GAA02483; Mon, 19 Sep 1994 06:03:58 -0700
Received: from relay1.oleane.net by sgi.sgi.com via ESMTP (940627.SGI.8.6.9/910110.SGI)
	for <tiff@sgi.com> id GAA28235; Mon, 19 Sep 1994 06:03:56 -0700
Received: from squirrel.UUCP (uu2001@localhost) by relay1.oleane.net (8.6.9/8.6.9) with UUCP id PAA11697 for sgi.com!tiff; Mon, 19 Sep 1994 15:03:54 +0200
Received: from o2001.two-oo-one.fr by squirrel.two-oo-one.fr with smtp
	(Smail3.1.28.1 #52) id m0qmheX-0007QVC; Mon, 19 Sep 94 14:17 MET DST
Received: from ttt by o2001.two-oo-one.fr; (5.65/1.1.8.2/19Jul94-0316PM)
	id AA00596; Mon, 19 Sep 1994 14:17:17 +0200
Received: from localhost by ttt; (5.65/1.1.8.2/22Apr94-0432PM)
	id AA25471; Mon, 19 Sep 1994 14:16:48 +0200
Message-Id: <9409191216.AA25471@ttt>
To: tiff@sgi.sgi.com
Subject: bugs for ExtraSamples
X-Mailer: exmh version 1.4 6/24/94
Date: Mon, 19 Sep 94 14:16:47 +0200
From: eb@two-oo-one.fr
X-Mts: smtp
Sender: owner-tiff@sgi.sgi.com
Precedence: bulk


We have here the tiff library version 3.30beta and we are running on ALPHA.
May be the bug have been already corrected.

i have tried to use the ExtraSamples channels and it seems that the code
has been too optimized. 

in tif_dirwrite.c

166c166
<       if (FieldSet(fields, FIELD_EXTRASAMPLES) && td->td_extrasamples) {
---
>       if (FieldSet(fields, FIELD_EXTRASAMPLES) && !td->td_extrasamples) {

// seems more appropriate. and works fine for me.

					Erick

------------------------------------------------------------------
                    Erick Bizouarn                                |
  2001 S.A.                        email :   eb@two-oo-one.fr     |
  2, rue de la Renaissance         voice :   +33 (1) 46 66 54 54  |
  F-92184 ANTONY Cedex             fax   :   +33 (1) 46 66 59 50  |
------------------------------------------------------------------



