Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I'm new to ImageMagick, but found it to be a great library. Now to the point. I'm trying to merge 2 MagckWands into 1 to montage them later on. How to achieve that (I've read the docs, but could not find a necessary function).
MagickReadImage(wand1, "im1.jpg");
MagickReadImage(wand2, "im2.jpg");
(do sth with the images)
newwand = MagickMontageImage(mergewands(wand1,wand2),(...));
Please post anything that might help with this problem, else than write and read them, to a single wand. Thanks in advance.
I'm sorry, but you have missed the point. I know how to do a successful montage. The problem is, that before performing the montage I want to prepare the images (in a different way). E.g. floodfill the background, perform a contrast and sharpness adjustment and so on.
That is why I need two different wands (for two images). After I'm finished with preparing the images solo, I want to merge them using montage, but here I need them all in a single wand, that is why I asked the question about merging wands.
In my example that was the “(do sth with the images)” part.
The documentation for it appears to have a cut and paste error because it refers to a splice wand.
The images in add_wand are added to those already in wand.