Received: from mailgate101.isp.belgacom.be (mailgate101.isp.belgacom.be [195.238.6.82])
	by inmx028.isp.belgacom.be (Postfix) with ESMTP id 957891A405D
	for <joris.at.lebbeke@skynet.be>; Tue, 24 Apr 2007 10:37:29 +0200 (CEST)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 24 Apr 2007 10:37:26 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l3O8QV7I022352;
	Tue, 24 Apr 2007 04:27:33 -0400
Received: from outmx041.isp.belgacom.be (outmx041.isp.belgacom.be
	[195.238.6.178])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l3O8QBG8022345
	for <tiff@lists.maptools.org>; Tue, 24 Apr 2007 04:26:12 -0400
Received: from outmx041.isp.belgacom.be (localhost.localdomain [127.0.0.1])
	by outmx041.isp.belgacom.be (8.13.4/8.13.4/Debian-3sarge3) with ESMTP
	id l3O8Q6kV013016
	for <tiff@lists.maptools.org>; Tue, 24 Apr 2007 10:26:09 +0200
Received: from AWareCore2Duo (29.205-244-81.adsl-dyn.isp.belgacom.be
	[81.244.205.29])
	by outmx041.isp.belgacom.be (8.13.4/8.13.4/Skynet-OUT-2.22) with SMTP
	id l3O8Q321012982; Tue, 24 Apr 2007 10:26:03 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000901c7864a$2fb3e890$0201a8c0@AWareCore2Duo>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Mick O'Neill" <mick.oneill@avand.com.au>,
        "TIFF mailing list" <tiff@lists.maptools.org>
References: <8D9A26DA9EA4C844A93E308798D74E8F020F87B7@adi25.advdata.com.au><001401c77ca8$27293370$0201a8c0@AWareCore2Duo>
	<8D9A26DA9EA4C844A93E308798D74E8F02241A70@adi25.advdata.com.au>
Subject: Re: [Tiff] O-JPEG problems
Date: Tue, 24 Apr 2007 10:25:49 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Cc: 
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002313
X-MSP-STORE: Tue, 24 Apr 2007 10:37:29 +0200
Status:   

Mick,

Mick O'Neill wrote:
> 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

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
