equivalent of convert input.png -matte -fill None -opaque ..

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
User avatar
Site Admin
Posts: 10998
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-07-31T06:44:23-07:00

Use MagickReadImage() to read input.png, MagickSetImageMatte() to set the image matte, MagickPaintOpaqueImage() to change a pixel to the fill color, and MagickWriteImage() to write the resulting image to a file on disk.

Post Reply