Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from nataly.at1895.spb.edu (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.4/8.12.4/Debian-4) with ESMTP id g715mAdF029067
	for <dron@at1895.spb.edu>; Thu, 1 Aug 2002 09:48:10 +0400
Received: from olympiakos.com (uucp@localhost)
	by nataly.at1895.spb.edu (8.12.4/8.12.4/Debian-4) with UUCP id g715mAps029065
	for dron@at1895.spb.edu; Thu, 1 Aug 2002 09:48:10 +0400
Received: from knot.pu.ru (knot.pu.ru [193.124.85.214] (may be forged))
	by wg.pu.ru (8.9.1a/8.9.1) with ESMTP id FAA16017
	for <dron@at1895.spb.edu>; Thu, 1 Aug 2002 05:38:44 GMT
Received: from gate7.olympiakos.com (sdsl-64-32-199-150.dsl.iad.megapath.net [64.32.199.150])
	by knot.pu.ru (8.9.3/8.9.0) with ESMTP id JAA13052
	for <dron@at1895.spb.edu>; Thu, 1 Aug 2002 09:38:43 +0400 (MSD)
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id BAA28330;
	Thu, 1 Aug 2002 01:36:30 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Thu, 1 Aug 2002 01:28:16 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id BAA28265
	for tiff-outgoing; Thu, 1 Aug 2002 01:28:16 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sss.pgh.pa.us (root@[192.204.191.242])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id BAA28262
	for <tiff@olympiakos.com>; Thu, 1 Aug 2002 01:28:15 -0400
Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1])
	by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g715S0Vk004908;
	Thu, 1 Aug 2002 01:28:01 -0400 (EDT)
To: "Roland Rabien" <rrabien@acdsystems.com>
cc: tiff@olympiakos.com
Subject: Re: jpeg in tiff problem 
In-reply-to: <003101c238e1$a36cf8a0$5701a8c0@acdsystemsltd.acdsystemsintl.com> 
References: <003101c238e1$a36cf8a0$5701a8c0@acdsystemsltd.acdsystemsintl.com>
Comments: In-reply-to "Roland Rabien" <rrabien@acdsystems.com>
	message dated "Wed, 31 Jul 2002 15:28:47 -0700"
Date: Thu, 01 Aug 2002 01:28:00 -0400
Message-ID: <4907.1028179680@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 1040
Lines: 20

"Roland Rabien" <rrabien@acdsystems.com> writes:
> I'm trying to get jpeg compression in tiff working. I've got libtiff =
> 3.5.7 and jpeglib 6b and I'm compiling on Windows. When I try and open a =
> tiff (created with Adobe ImageReady), I get an error in the jpeglib, =
> "JPEG parameter struct mismatch: library thinks size is 464, caller =
> expects 432" because "structsize !=3D SIZEOF(struct =
> jpeg_decompress_struct)" I assume I'm not building something
> correctly,

I'd bet lunch that the problem is your application has a different idea
of sizeof(boolean) than libjpeg has.  Check what libjpeg was built with,
and check what's getting imported from the Windoze header files you use.
The struct-size check was put in specifically to catch this kind of
problem (debugging it any other way was really a nightmare...)

			regards, tom lane
			organizer, Independent JPEG Group

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

