use Image::Magick; my $img = Image::Magick->new; $img->Read('./img.jpg' ); #before $img->Identify(); $img->Quantize( colors => 18 ); $img->Set( type => 'Palette' ); #after $img->Identify();
In reply to Re: Reading an image palette
by zentara
in thread Reading an image palette
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |