in reply to GD::Image trueColor() hangup...

Although one of the examples in the POD suggests that trueColor() returns an image, it doesn't. The second example is correct. Ie. No return. So ignore the return code.

To verify it worked, call GD::IMage->trueColor(1);, then create your image, my $img = GD::Image->new( $x, $y ) or die ... and then call $img->isTrueColor() or die ....

Or, just pass a third argument to the constructor my $img = GD::Image->new( $x, $y, 1 );. The same works for all the other constructors also.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."