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

Post by magick »

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