ZF-10867: Captcha image background color
Description
The zend captch class is great but there should be an option to change captcha image background color and font color. Upto Zend version 1.11 there is no option to change this property. if you want to change these property then you have to change the _generateImage function in Image.php.
Comments
Posted by Sandra Schneider (haruka) on 2011-03-22T19:19:55.000+0000
I hope this may be useful in anyway to solve this issue
Posted by Christian Ludwig (ludwig) on 2012-01-16T20:16:38.000+0000
It seems like there are many users looking forward to have Zend_Captcha_Image been improved.
What I do not understand is what it is good for defining a $_startImage when it gets overlayed by a rectangle filled with the background color. Maybe it would be better to use imagecolorallocatealpha() instead of imagecolorallocate() or to leave the background alone if a startImage is set.
I think Sandras code is a great step for enhancing Zend_Captcha_Image but as mentioned above, I would prefer using imagecolorallocatealpha() and having a fourth parameter for the alpha.
Thanks Stanislav for reading this.
Posted by Gopal Aggarwal (gopal1035) on 2012-06-18T12:33:10.000+0000
Thanks for the meticulous attachments. They helped me in my project.