Loading, saving, and then loading an image again throws “A generic error occurred in GDI+”

前端 未结 3 1330
情话喂你
情话喂你 2021-01-15 04:37

This seems to be in infamous error. I remember getting it a while back for different code, but it\'s back, with a vengeance, but with some new code that I can\'t se

3条回答
  •  迷失自我
    2021-01-15 05:31

    Take a look at: https://support2.microsoft.com/Default.aspx?id=814675 If the stream was destroyed during the life of the Bitmap object, you cannot successfully access an image that was based on a stream.

提交回复
热议问题