I am developing an Outlook 2010 Add-In, and am loading an image from a serialized XML file. The image loads fine, and am able to assign it to a pictureBox object on a Winfo
In my case it was a spelling mistake in the path to the directory where I was saving the image:
if (Directory.Exists(directory_path)) { image.SaveAs(directory_path + filename); }
As gaffleck said it would be nice if GDI+ had thrown more informative exception.