AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.01.17 15:51 "ExtraSamples Bug in TIFF 3.30beta 002", by Olli Raisa
1994.01.17 14:25 "Re: ExtraSamples Bug in TIFF 3.30beta 002", by Yecheng Wu
1994.01.17 17:07 "Re: ExtraSamples Bug in TIFF 3.30beta 002", by Olli Raisa
1994.01.17 17:11 "Re: ExtraSamples Bug in TIFF 3.30beta 002", by Dan McCoy

1994.01.17 15:51 "ExtraSamples Bug in TIFF 3.30beta 002", by Olli Raisa

Libtiff 3.30 does not output the ExtraSamples tag. This fix is required to libtiff/tif_dirwrite.c (add '!'):

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

Regards,

Olli Raisa
Unda Oy