http://qs1969.pair.com?node_id=237730


in reply to Re: Image::Magick
in thread Image::Magick

How to i implement resizing images? how to i get perl module for Magick.pm file. Its free or any payment. In Pdk kit is not available Just convey how to proceed further. Let me know If any one help me Murugavel Ramachandran My email Id : blsrm@rediffmail.com

Replies are listed 'Best First'.
Image::Magick Quantize
by Anonymous Monk on Mar 21, 2005 at 20:14 UTC
    I am trying to increase the number of colors in an image, but it is not working.
    $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');
    nu and nu1 remains the same- 127 in my case. Any help is appriciated.
      Why do you want to increase the number of colors in the image? What new colors do you think ImageMagick should add, and where do you think it should put them?

      Caution: Contents may have been coded under pressure.
        Actually, I am trying to print/display an image on the pdf file. Using: my $image = PDF_load_image($p, "gif", "../images/logo.gif",""); but, this function does not support less than 128 colors. Is there is any other thing I can do to display an image to PDF file? Thanks for your help.