A generic error occurred in GDI+, JPEG Image to MemoryStream

前端 未结 30 1510
再見小時候
再見小時候 2020-11-22 06:47

This seems to be a bit of an infamous error all over the web. So much so that I have been unable to find an answer to my problem as my scenario doesn\'t fit. An exception ge

30条回答
  •  悲&欢浪女
    2020-11-22 07:02

    Just in case if someone is doing as stupid stuff as I was. 1. make sure path does exist. 2. make sure you have permissions to write. 3. make sure your path is correct, in my case I was missing file name in the TargetPath :(

    it should have said, your path sucks than "A generic error occurred in GDI+"

提交回复
热议问题