Page 1 of 1

JPEG parameter struct mismatch

PostPosted: 14. December 2009 15:50
by nu11ed
After the upgrade Xampp with 1.7.2 final to 1.7.3 beta 2, after attempts to upload pictures (Datalife Engine) in the apache logs are written "JPEG parameter struct mismatch: library thinks size is 472, caller expects 432" (as a consequence of the picture is not reduced and not loaded)

I understood the problem with the library gd2.

p.s. Translate with Google® (RUSSIAN users)
--------------------
XAMPP 1.7.3 beta 2 for Windows
Windows 7 x64 RTM

Re: JPEG parameter struct mismatch

PostPosted: 14. December 2009 22:08
by Izzy
Did you also fill out the Feedback form on the XAMPP Beta web page?
http://www.apachefriends.org/en/xampp-beta.html

Re: JPEG parameter struct mismatch

PostPosted: 15. December 2009 22:04
by nu11ed
Hello,

thanks for the feedback.

> upload pictures (Datalife Engine) in the apache logs are written \"JPEG
> parameter struct mismatch: library thinks size is 472, caller expects
> 432\"

You are the first which one noticed that. Our own demosite is using PNG, and
so JPEG was not tested. And correct, I have used a wrong libjpeg library for
the GD extension.

The attached php_gd2.dll should work. Just replace the existing file with
this one.

Regards,
Carsten


Download update php_gd2.dll