I have a graphing program that allows the user to export the graph as an image as either a jpeg, tiff, png, gif, or bitmap format. The problem is that one of my clients is having a problem exporting his graph as a tif. When he sent me the file, I had the same problem. The ex.message error message is "A Generic error has occured in GDI+" There was no problem exporting the same file as jpeg or in any of the other image formats. When I loaded one of my graphs, there was no problem exporting as a tiff file.
The error occurs at this line:
Any help would be appreciated.