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

前端 未结 2 1197
天涯浪人
天涯浪人 2021-01-26 17:24

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:50

    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.

提交回复
热议问题