Saving image to file

前端 未结 4 2047
花落未央
花落未央 2020-12-05 13:08

I am working on a basic drawing application. I want the user to be able to save the contents of the image.

\"ent

4条回答
  •  盖世英雄少女心
    2020-12-05 13:55

    You can try with this code

    Image.Save("myfile.png", ImageFormat.Png)
    

    Link : http://msdn.microsoft.com/en-us/library/ms142147.aspx

提交回复
热议问题