captcha - Perl: GD:SecurityImage, angle property not working -


i trying create security image text using perl module gd:securityimage following object:

my $image = gd::securityimage->new(               width   => 220,               height  => 60,               lines   => 5,               scramble => 1,               angle   => 45,               gd_font => 'giant',            );  $image->create( normal => 'circle' ); $image->particle(30, 70); 

but text in resulted image doesn't have text angled @ 45 degrees rather random. if make scramble = 0 , have angle = 45, text doesn't rotate @ angle, text default in image seen enter image description herein attach screen.

please me out, doing wrong here?.

note: image scramble = 0;

please note must have math::trig rotate gd, otherwise no rotation. don't need imagemagick backend - try that. (and use ttf :))


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -