Bitmap.Save error

Originally I posted this to /r/learnprogramming but might be a bit better question to ask here.

Here is the link to .Net fiddle http://ift.tt/1NyTKGL I keep getting an error on the Bitmap.Save portion at the bottom, if you remove the try/catch. Seem generic GDI error, but am at work and can't run it again. Anyone have any sort of idea where I can look at? tried .Dispose() the bitmap or copying it to a new bitmap and no luck.

by atreyal via /r/csharp

Leave a Reply