MagickSetImageOpacity / MagickGetImageOpacity

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
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

MagickSetImageOpacity / MagickGetImageOpacity

Post by mkoppanen »

I can find the method MagickSetImageOpacity but the Get counterpart seems to be missing.

Is this intentional?
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickSetImageOpacity / MagickGetImageOpacity

Post by magick »

MagickSetImageOpacity() is a convenience method for setting the entire image to a fixed opacity intensity. You can then retrieve the opacity value for a particular pixel using a pixel wand or pixel iterator.
Post Reply