A Generic error occurs at GDI+ at Bitmap.Save() after using SaveFileDialog

前端 未结 12 1542
情书的邮戳
情书的邮戳 2020-12-10 01:07

I use the following code block with some more code inside the using block:

using (System.Drawing.Bitmap tempImg =
       (System.Drawing.Bitmap)tempObj.GetDa         


        
12条回答
  •  鱼传尺愫
    2020-12-10 01:25

    A Generic error occurs at GDI+ at Bitmap.Save() is generally received when the folder is protected, or the file name is invalid.

    A common error is to forget to make a name and just write the folder name alone.

提交回复
热议问题