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
in 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
Post a Comment