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

2007.04.25 22:58 "RE: [Tiff] O-JPEG problems", by Mick O'Neill

Thanks Joris.

Bugzilla has been raised. I was wondering, though, if you have a copy of that older "stable" version of libtiff hanging around anywhere? My problem is that we have 2 clients here with TIFFS (numbering in the hunderds of) like the sample I have provided, and they need them rendered into PDF format. My alternative is to go back to the old ojpeg, and hook my old patch back into libtiff 3.7.4 - which in my books is a bit dodgy.

Thanks again mate.

Mick

> -----Original Message-----
> From: Joris [mailto:joris.at.lebbeke@skynet.be]
> Sent: Tuesday, 24 April 2007 6:26 PM
> To: Mick O'Neill; TIFF mailing list
> Subject: Re: [Tiff] O-JPEG problems

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.