What is the C++ or MagickWand API equivalent of convert?

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.
Post Reply
robert206

What is the C++ or MagickWand API equivalent of convert?

Post by robert206 »

The command line version of ImageMagick makes extensive use of the convert command. Is there an equivalent function in the C++ or PHP APIs? For example: to create a solid color image from scratch you can use

convert -size 100x100 xc:khaki canvas_khaki.gif

How do you do this in the Windows C++ API (MagickWand or otherwise), or in PHP?
robert206

Re: What is the C++ or MagickWand API equivalent of convert?

Post by robert206 »

OK, I see that in Magick++ this particular example can be done with the image constructor, and that other examples of command line convert that I am finding can be done using image attributes or manipulations in Magick++. So I guess the analog of convert is the Image object itself.

So, never mind.
Post Reply