I'm trying to draw with GD and can't figure out how to use Anti Aliasing.
This is the sample code.
my $gd = GD::Image->new(400,400);
my $black = $gd->colorAllocate(0,0,0);
my $white = $gd->colorAllocate(255,255,255);
print IMG $gd->png;
This code supposed to draw an Anti Aliased line but it doesn't Anti Alias.
I'm using perl 5.10 on Ubuntu 8.10.