Solved: Magick++ Version of 3 image masked alpha composition
Posted: 2010-08-04T08:12:48-07:00
Hi everybody,
currently I am trying to figure out how to write a c++ program using the magick++ libs to recreate the behaviour for the "special three image form of Masked Alpha Composition" mentioned in http://www.imagemagick.org/Usage/channe ... ed_compose.
As far as I understood, parts of the idea is by using the mask image with both the Multiply composite flag (like in image1.composite( image2, placement, MultiplyCompositeOp );) and the Screen composite flag.
Although I found the MultiplyCompositeOp define for magick++, I couldn't find the 'convert -composite Screen' equivalent.
Did I miss something here or is this method not available?
Has anyone a piece of c++ code that actually does the same like the 3 image form from above?
Any help or hint would be greatly appreciated.
Olli
currently I am trying to figure out how to write a c++ program using the magick++ libs to recreate the behaviour for the "special three image form of Masked Alpha Composition" mentioned in http://www.imagemagick.org/Usage/channe ... ed_compose.
As far as I understood, parts of the idea is by using the mask image with both the Multiply composite flag (like in image1.composite( image2, placement, MultiplyCompositeOp );) and the Screen composite flag.
Although I found the MultiplyCompositeOp define for magick++, I couldn't find the 'convert -composite Screen' equivalent.
Did I miss something here or is this method not available?
Has anyone a piece of c++ code that actually does the same like the 3 image form from above?
Any help or hint would be greatly appreciated.
Olli