Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Make white background transparent on existing PNG

$
0
0
You can change all the white pixels with the following method:
using (MagickImage image = new MagickImage(@"C:\input.png"))
{
  image.Opaque(new MagickColor("white"), MagickColor.Transparent);
  image.Write(@C:\output.png");
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles