1998.11.13 18:02 "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.