in reply to perlmagick color change.

etc..

I would try

$image->Opaque(fill => 'white', color => 'blue');

See Manipulate an Image.

Replies are listed 'Best First'.
Re^2: perlmagick color change.
by Anonymous Monk on Oct 13, 2009 at 15:31 UTC
    Hi, Thanks for your reply. Unfortunately that didn't work. The file is .png is that going to affect anything?

      Have you tried if it works on the command line with the regular ImageMagick convert command (as you've quoted)?  PerlMagick wouldn't be applying any other magick, essentially...

      Not all operations make sense with all image types, such as "indexed" vs. "truecolor" (PNGs may be either).   Could you provide a sample image?

        Unfortunately I don't have access to the command as I am on shared server space. I have tried other commands like Resize so I know that the module is responding.

        The image is qr code generated from google: check it out and I am experimenting with generating different colors. (unsuccessfully!!)