Remove Alpha Channel
View as MarkdownRemoves alpha channel and replaces it with a solid color.
Code Snippet
using (var bitmap = new Bitmap("Stamp.png"))
{
bitmap.Channels.RemoveAlpha(RgbColor.WhiteSmoke);
bitmap.Save("RemoveAlphaChannel.png");
}
Input
Stamp.png
Output
RemoveAlphaChannel.png