Saving System.Drawing.Graphics to a png or bmp

Posted by Old Man on Stack Overflow See other posts from Stack Overflow or by Old Man
Published on 2010-05-28T12:16:57Z Indexed on 2010/05/28 12:21 UTC
Read the original article Hit count: 248

Filed under:
|

I have a Graphics object that I've drawn on the screen and I need to save it to a png or bmp file. Graphics doesn't seem to support that directly, but it must be possible somehow.

What are the steps?

© Stack Overflow or respective owner

Related posts about c#

Related posts about graphics