The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
// This is for version 7, it gives an error because the 3rd argument is not present.
MagickCompositeImage(wand2, wand0, CopyOpacityCompositeOp, MagickFalse, 0, 0);
// In the older version it works
MagickCompositeImage(wand2,wand0,CopyOpacityCompositeOp,0,0);
So I want to know that, is there any alternate option for this?
A good clue that they are the same is the position in the list of typedef "CompositeOperator". The v6 name is in the same position as the v7 name.
In addition: a grep search in the v6 source code finds only the v6 name, and in the v7 source code finds only the v7 name, and the names are used in corresponding places in the code.