AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.10.27 20:47 "[Tiff] Possible bug in tiff2ps", by Peter Fales
2004.10.28 17:48 "Re: [Tiff] Possible bug in tiff2ps", by Andrey Kiselev
2004.10.28 19:17 "Re: [Tiff] Possible bug in tiff2ps", by Peter Fales
2004.10.30 13:26 "Re: [Tiff] Possible bug in tiff2ps", by Tristan Hill
2004.10.30 13:26 "Re: [Tiff] Possible bug in tiff2ps", by Andrey Kiselev

2004.10.28 17:48 "Re: [Tiff] Possible bug in tiff2ps", by Andrey Kiselev

tiff2ps (from 3.7.0) is failing on on my Darwin (Mac OS/X) system. It looks like the problem is in setupPageState() where the wrong value is returned from TIFFGetField(tif, TIFFTAG_XRESOLUTION, &xres)

xres is a double, but in TIFFGetField(), which in turn calls _TIFFVGetField, we eventually get to this line in tif_dir.c, where the pointer is being treated as a float.:

Thanks, Peter! That is certainly a bug. Fixed in CVS.

Andrey

Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517