I received an email from Petdance, providing me some very usefull tips and notes on the web app testing talk. Thanks!
While preparing the image manipulation paper, I decided to test my examples and bumped onto a rather critical bug in my code. I have
my $image = GD::Image->new($width,$height,1);
since the GD pod states
$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.
Now, I pressumed this was a boolean flag (since the POD was vague). It turns out you need to pass the bitrate you want your images in. Also, the trueColor
fails to work. I'll send comments and testcase to LDS tomorrow...