2007.03.08 03:17 "[Tiff] OJPEG bug resolution", by Joris
A number of you reported a problem with the new OJPEG, that seemed to occur on Kofax OJPEGs with a length that wasn't a multiple of two. The error returned in that case, reading with RGBA interface, was 'Fractional scanline not read'.
See also http://www.asmail.be/msg0054766825.html.
I think I've tracked it down as a problem in tif_getimage.c, not actually the OJPEG decoder. Judging from what I found, the problem should have occured on all OJPEG images with a RowsPerStrip value, or a residual last strip height value, that isn't a multiple of the vertical subsampling factor.
I think I've solved the problem. It would be really great if those of you who reproduced the trouble, could please double-check, using the latest CVS version.
Joris Van Damme
Download your free TIFF tag viewer for windows here: