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


Post by *void » 2007-01-12T17:33:36-07:00

I am confused about the status of these methods, and more generally about the preferred way to set image attributes in the MagickWand API. It isn't clear whether they do the same, or different things.

Both methods are exported by the Installed API. (6.3.1)

However, MagickSetImageOption is not documented and appears to be deprecated. I notice it was the recommended solution to one question last year involving a PDF processing option.

MagickSetImageAttribute IS documented in the www pages installed with MagickWand, but has disappeared from the online dosumentation pages. There is no indication in the installed API that it is deprecated.

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

Post by magick » 2007-01-12T18:20:31-07:00

Use MagickSetOption() to set values before an image is instantiated and MagickSetImageProperty() after the image is created. MagickSetOption() applies to all images created after you call it and MagickSetImageProperty() applies to a specific image. MagickSetImageAttribute() is functionally equivalent to MagickSetImageProperty() but is deprecated.

Post Reply