note
Anonymous Monk
I am trying to increase the number of colors in an image, but it is not working.
<code>
$img = Image::Magick->new;
$img->Read('../images/logo.gif');
my $nu = $img->Get('colors');
$img->Set(colors=>256);
$img->Quantize();
my $nu1 = $img->Get('colors');
</code>
nu and nu1 remains the same- 127 in my case. Any help is appriciated.
<!-- code tags added by merlyn -->
38309
237730
4