[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imagemagick-user
Subject:    RE: [magick-users] Adding an image matte with PerlMagick
From:       Andrew Forrest <af () cygnets ! co ! uk>
Date:       2002-02-27 16:07:57
[Download RAW message or body]



> Try this:
>   img->Set('matte' => 'True');
>   $img->Composite(image=>$mask, compose=>'CopyOpacity');

Thanks. That almost works. There are bizarre things happening to the colours
of the image where the mask is >0 and <255, though.


> Also the latest version of ImageMagick is 5.4.3-6.

I can't upgrade to the lastest version unfortunately; I'm tied to what
Debian-testing provides.


--Andrew Forrest
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic