Re-combining separated channels in Image::Magick (Perl)

Jon Perkin <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <6BAD84D0221CC74980B3751933E56BCC43C04A1692@IE2RD2XVS021.red002.local>
Hi folks.

I'm working on something that needs to do separate processing on the red, green, blue and alpha channels of a TrueColorMatte image. I can use the Perl API's Separate() method to separate out the four channels, but I can't find a way of combining them again, including the alpha/opacity/matte channel. I believe the -combine option of the command-line interface can do this, although I'm not sure that it supports the alpha channel.

Cheers, Jon.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.