AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.07.31 22:28 "jpeg in tiff problem", by Roland Rabien
2002.08.01 05:28 "Re: jpeg in tiff problem", by Tom Lane
2002.08.01 16:42 "RE: jpeg in tiff problem", by Roland Rabien

2002.07.31 22:28 "jpeg in tiff problem", by Roland Rabien

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 != SIZEOF(struct jpeg_decompress_struct)" I assume I'm not building something correctly, any ideas? My call stack looks like the following:

jpeg_CreateDecompress
TIFFjpeg_create_decompress
TIFFInitJPEG
TIFFSetCompressionScheme
_TIFFVSetField
_XTIFFVSetField
TIFFVSetField
TIFFSetField
TIFFReadDirectory
TIFFClientOpen
XTIFFClientOpen

Thanks for the help,

Roland Rabien