how can i set one color to transparent~

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
mitta

how can i set one color to transparent~

Post by mitta »

like black to transparent??
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: how can i set one color to transparent~

Post by magick »

Use a pixel wand to set the alpha channel value to transparent. The source distribution includes wand/wandtest.c which includes an example of setting the color value of a single pixel in an image.
Post Reply