Page 1 of 1

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

Posted: 2008-09-24T17:46:00-07:00
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?

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

Posted: 2008-09-24T18:31:18-07:00
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.