Hi,
I've installed module GD.pm, executing ppm install
http://theoryx5.uwinnipeg.ca/ppms/GD.ppd
in perl 5.005_03 build 518 with win2000 server.
I want to use module Authen::Captha and GD.pm is required

I've also installed GD.pm in my workstation (win2000 and perl 5.8.0)
I tried this code,

use GD;
use strict;
my $source = new
GD::Image('C:\Perl\site\lib\Authen\Captcha\images\background5.png');
my ($background_width,$background_height) = $source->getBounds();
print "background_width = $background_width\n";
print "background_height = $background_height\n";

with perl 5.8.0 it's ok, the values of width and height are 200 and 35
respectively but 
perl 5.005 the obtained values are 0 and 64.
I think the function getBounds isn't working properly with perl 5.005
I want to revise getBounds to find the reason of this,
but I don't know where the function is implemented. 
Is it inside gd.dll ? Can you help me ?

Thanks in advance.


Reply via email to