in reply to Re^3: Perl GD problem with colors for text
in thread Perl GD problem with colors for text

I had success with the newFromJpeg constructor, with the $truecolor flag set to 1.

my $im = GD::Image->newFromJpeg( $jpg, 1 );

It was quite educational to run the identify -verbose command (from the ImageMagick suite) on the "before" and "after" images.