Open kristovaher opened 11 years ago
Unable to reproduce the error on Win7 Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 - the imagecreatefromjpeg part works fine for me.
This might be a system-specific or version-specific bug in that case or a problem encountered in my stack. Might be an issue on Windows 8 alone. I have to test for that.
Additional details from Jaak in e-mail (in Estonian):
Kas oleks mõeldav, kui sa hoiaksid mingit snapshoti oma dev branch-ist ka public repos ning märgiksid bug-i puhul ka ära, kas viga eksisteerib dev branchil või versioon x.x.x release-l?
Ma eeldan, et see sammune GD viga oli ehk dev-i peal (anna märku, kui eksin, sest seljuhul tahaksin veel veidi testida -->), kuna tol hetkel kõige uuem public versioon - kuigi faili leidmisega tõesti ei omanud probleeme, karjus nw-se-ne-aa parameetrite mitte-äratundmise üle tol hetkel.
For example: nocache&400x200&nw40&se190&ne10&aa4&example.jpg
[type] => 2 [file] => C:\UniServerZ\www\engine\class.www-imager.php [line] => 69 [message] => imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:
AND
[type] => 2 [file] => C:\UniServerZ\www\engine\class.www-imager.php [line] => 69 [message] => imagecreatefromjpeg(): 'C:/UniServerZ/www/resources/images\example.jpg' is not a valid JPEG file
FIle is definitely valid and the problem is not in the '\' character instead of '/' (tested)