How could I create a bitmap which is initially completely transparent. I would then like to do some drawing to it, like g.drawImage() and then I would like to save it as a png. How could I do this?
Thanks
How could I create a bitmap which is initially completely transparent. I would then like to do some drawing to it, like g.drawImage() and then I would like to save it as a png. How could I do this?
Thanks
Dim bmp As New Bitmap(width, height)
Dim g As Graphics = Graphics.FromImage(bmp)
g.Clear(Color.Transparent)
''Perform Drawing here
bmp.Save("ZOMG AMAZING DRAWING.png", System.Drawing.Imaging.ImageFormat.Png)