A Generic error occured in GDI+ in Image.Save() method

前端 未结 2 410
南笙
南笙 2021-01-26 17:10

I\'m trying to use this class but I\'m getting a Generic error occured in GDI+ in Image.Save() method. From what I read it\'s some stream I need to close but I don\'t know which

2条回答
  •  忘了有多久
    2021-01-26 17:45

    Unless your program is running as administrator you can not save directly to the root of C: make a folder and save it inside there instead.

提交回复
热议问题