Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bitmap bmp = new Bitmap(1, 1, PixelFormat.Format32bppArgb);
- using (var g = Graphics.FromImage(bmp)) {
- g.Clear(Color.Transparent);
- }
- bmp.Save(@"c:\myimage.png", ImageFormat.Png);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement