1994.09.19 12:16 "bugs for ExtraSamples", by Erick Bizouarn

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  |
------------------------------------------------------------------