Sorry, I made a mistake.
I installed GD.pm in my perl 5.005_03 with win2000 server using the
url 
http://ppm.activestate.com/PPMPackages/zips/5xx-builds-only/GD.zip

GD version 1.27

and the version of GD.pm in my workstation with perl 5.8.0 is 2.16

I hope this help you.
Thanks

PerlDiscuss -  wrote:

> 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:PerlsitelibAuthenCaptchaimagesbackground5.png');
> my ($background_width,$background_height) = $source->getBounds();
> print "background_width = $background_widthn";
> print "background_height = $background_heightn";

> 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.


  • GD.pm and getBounds() PerlDiscuss - Perl Newsgroups and mailing lists
    • PerlDiscuss - Perl Newsgroups and mailing lists

Reply via email to