Posted: 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.