c#でアルファ合成

c#で透過Bitmapの合成はGraphicsのCompositingModeをSourceOverで使う。

Bitmap ImageWithAlpha;
Bitmap backgroundImage;

graphics g = Graphics.fromImage(backgroundImage);
g.CompositingMode = System.Drawing.Drawing2D.CompositingMode.SourceOver;
g.DrawImage(ImageWithAlpha, 0, 0);