First of all, thanks for this nice class.
However, the deskew method never worked for me. I've tried to run the examples/index.php, but it never displayed the resulting image for the deskew method.
I've tried this on multiple servers:
PHP 5.3.10, GD 2.0.34 compatible (Ubuntu 12.04 Server)
PHP 5.2.17, GD 2.0.34 compatible (SunOS 5.10)
PHP 5.3.2, GD 2.0+ (Ubuntu 10.04.4 Server)
PHP 5.2.4, GD 2.0+ (Ubuntu 8.04.4 Server)
Any idea what might cause the problem?
Thanks in advance!
|2012-06-08 09:33:38 - In reply to message 1 from Caroline Gruber|
do you have any reference image so I can test it? Or does it not work at all? Ie fatal errors, and such?
|2012-06-16 09:42:20 - In reply to message 2 from Artur Graniszewski|
|Found the problem.|
In gd2imaging.php line 1271, the backgroundColor is passed as a string, however, imagerotate expects an integer value.
(BTW: I'm just using your examples/index.php)
|2012-06-18 15:13:46 - In reply to message 3 from Caroline Gruber|
|Thanks for the feedback.|
I just fixed the issue you reported. Looks like the library grown enough to use the unit tests, or sth...;)