2005.10.18 11:31 "[Tiff] Small bug report, tif_fax3.c and tif_row", by Joris Van Damme

2005.10.18 11:31 "[Tiff] Small bug report, tif_fax3.c and tif_row", by Joris Van Damme

Folks,

In tif_fax3.c, Fax4Decode decodes a strip (or tile) of data. Inside this process, tif->tif_row is often used as a parameter inside warning and error reports (style '... at scanline xxx'). However, this tif->tif_row is not incremented inside this process. The results is that I'm seeing a huge number of warnings about the same scanline 0, while in reality they all apply to different scanlines.

Can anyone shed some light on this? Where, in the LibTiff design, is tif->tif_row actually meant to be incremented? How is this supposed to work inside strip/tile decoders?

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html