I tried this example, didn't work. In place of the picture I got nothing,
but something was using the space.
see the code do I miss anything?
thank you
Pierre
use GD;
# create a new image
$im = new GD::Image(100,100);
# allocate some colors
$red = $im->colorAllocate(255,0,0);
$blue = $im->colorAllocate(0,0,255);
# no background
do I need the background
# Draw a blue oval
$im->arc(50,50,95,75,0,360,$blue);
# And fill it with red
$im->fill(50,50,$red);
# make sure we are writing to a binary stream
binmode STDOUT;
# Convert the image to PNG and print it on standard output
print $im->png;
>From: Akshay Arora <[EMAIL PROTECTED]>
>To: P lerenard <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: pie charts and perl
>Date: 15 Oct 2001 14:00:12 -0500
>
>Check out GD for Perl
>
>http://stein.cshl.org/WWW/software/GD/
>
>-Akshay
>
>
>On Mon, 2001-10-15 at 12:52, P lerenard wrote:
> > is it possible to make a pie charts with perl?
> >
> > I want to make some statistic more readable and so use a pie charts.
> >
> > Is there a module for that?
> >
> > Thank you
> >
> > Pierre
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>--
>http://www.5vs1.com - A Pearl Jam Fan Site
>
>"Only when the last tree is dead, the last river damned, and the last
>field paved, will we realize that we can't eat money."
>
>"Time is long and life is short, so begin to live while you still can."
> -Eddie Vedder
>
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]