Created attachment 10161 [details] Page with images that are not rendered bu mupdf Images are not rendered for this page. Xpdf renders them without problem. The following error is output: """ error: jpeg error: JPEG parameter struct mismatch: library thinks size is 656, caller expects 624 warning: Ignoring error during interpretation """
Images are rendered OK with mupdf version 0.9-2 from Debian.
That error message is an indication that you are building with the headers from one jpeglib version, but linking with the lib from another version. Hence no JPEG image will decode. Build it properly, and your problems will go away.
(In reply to comment #2) > That error message is an indication that you are building with the headers > from one jpeglib version, but linking with the lib from another version. > Hence no JPEG image will decode. > > Build it properly, and your problems will go away. Slightly mis-worded, given 'version' has a specific meaning... it can happen to the same library version compiled differently (different optimization/padding). I'd rather have phased it differently: the built-time jpeg library is different from the run-time jpeg library - if you build mupdf against the same library binaries on the same machine/system as where you intend to run mupdf, the problem will go away. i.e. do not build on one machine and run on another.