2007.04.11 23:10 "[Tiff] O-JPEG problems", by Mick O'Neill

2007.04.24 08:25 "Re: [Tiff] O-JPEG problems", by Joris Van Damme

Mick,

I have built this new library, and it does work better than the old. However, it still could not render all of the pages in that TestBig file. It looks like it dows, but pages 2-11 come out as plain black backgrounds. The error being reported is "Improper call to JPEG library in state 0. `LibJpeg'.

I've tested again to make sure. With a previous version of LibTiff in a stable test-application, I'm not seeing any plain black IFDs. All IFDs come out fine. This stable test-application interfaces with the RGBAImage functionality of LibTiff.

Presumably, something changed in the surrounding library that is a bit unfortunate, as I don't think anyone actually touched the core tif_ojpeg.c. However, at this time it is very difficult for me to check as my developing environment is linked with the version of LibTiff that is being upgraded to support BigTIFF and that version is temporarilly a mess now. Or you may have building issues with the mix of LibTiff and LibJpeg (like the 'boolean' issue, or maybe a modified LibJpeg, or...).

Could you please make this a bugzilla entry, and assign that entry to me? That way, I'll be reminded of the issue when the BigTIFF upgrade is done, and I'll be able to investigate at that time.

Best regards,

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