Wand functions vs Image functions

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
*void

Wand functions vs Image functions

Post by *void » 2006-12-29T11:06:19-07:00

From the descriptions in the MagickWand interface doc, I can't seem to puzzle out the operational difference between the "Set or Get Wand Attribute" methods and similarly named methods in the "Magick Wand Image Methods". I assume the difference is probably crucial to my understanding of how the MagickWand interface works.

For instance
MagickSetBackgroundColor
MagickGetBackgroundColor
and
MagickSetImageBackgroundColor
MagickGetImageBackgroundColor

User avatar
magick
Site Admin
Posts: 10924
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-12-29T18:33:20-07:00

MagickSetBackgroundColor() is global and sets a default for all subsequent images and draws. MagickSetImageBackgroundColor() is local and tells the MagickWand API to set the specific attribute for a specific image.

Post Reply