my $image = GD::Image->new($width,$height,1);
$image = GD::Image->new([$width,$height],[$truecolor]);
The optional third argument, $truecolor, tells new() to create a truecolor GD::Image object. Truecolor images have 24 bits of color data (eight bits each in the red, green and blue channels respectively), allowing for precise photograph-quality color usage. If not specified, the image will use an 8-bit palette for compatibility with older versions of libgd.
trueColorfails to work. I'll send comments and testcase to LDS tomorrow...