2004.01.20 17:47 "[Tiff] Errors using JPEG compression", by Steven Tomer

2004.01.21 16:44 "Re: [Tiff] Errors using JPEG compression", by Andrey Kiselev

I am not able to open files (I'm trying quad-jpeg.tif from the distribution) that are using JPEG compression. I receive the following assertion error:

Assertion failed!
File: tif_jpeg.c
Line: 597
Expression: sp->cinfo.comm.is_decompressor

I have fixed this problem in the CVS. It was caused by the wrong fixes in the tif_jpeg.c for the well known problem with redefinition of the "boolean" data type. I think that now we have a correct solution (because it was copied from the JPEG headers :-).

By the way, troubles with boolean redefinition was caused by the wrong libjpeg compilation. Those who had the "struct size mismatch" errors should rebuild their libjpeg libraries, but only after reading the install.doc file, where that problem and its solution solution discussed.

Andrey

Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517