Issue using Image.Save to a location, "An error occured in GDI+" within Winform
Code being used: https://hatebin.com/dbpwfpnmuo
The error occures in line 84
I've had the issue with Bitmap as well to clarify
2 Replies
https://stackoverflow.com/questions/336387/image-save-throws-a-gdi-exception-because-the-memory-stream-is-closed
Few options in there
Stack Overflow
Image.Save(..) throws a GDI+ exception because the memory stream is...
i've got some binary data which i want to save as an image. When i try to save the image, it throws an exception if the memory stream used to create the image, was closed before the save. The reaso...
ill look into it
i looked into it and didnt find any good reason for why mine wouldn't work?