AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 1998

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1998.11.13 18:02 "Re: photoshop 5 tiffs", by Gerben Vos
1998.11.13 18:33 "Re: photoshop 5 tiffs", by Gerben Vos

1998.11.13 18:33 "Re: photoshop 5 tiffs", by Gerben Vos

Actually, from a quick browse through the code it seems to me that libtiff
itself is also at fault here: it only has one entry in the TIFF directory
for
both the MinSampleValue and MaxSampleValue tags, instead of as many as there
are samples per pixel.

I guess you can suppress the warning by finding the two relevant tag entries
in the tiffFieldInfo[] array in tif_dirinfo.c, and changing their second
field from -2 (samples per pixel) to -1 (variable). I hope everything else
keeps working.

					Gerben Vos.