C# system.drawing.image.save .tiff actually .png (or at least photoshop CS3 thinks so)
Posted on 2009-05-15
I am saving an image from a C# program developed in Visual Studio 2005 .NET using the system.drawing.image.save to save it as a .tiff file. I can open it in MS Paint, and any other program I've tried EXCEPT for photoshop (cs3 and cs4) - photoshop says its an invalid file format. If I rename it from image.tiff to image.png then photoshop opens it. If I open the image.tiff in paint and resave it as a .tiff, then photoshop also opens it. It would seem as if VS2K5 is saving the image as a .png even though I specify the format as .tiff. Has anyone seen this behavior before or have any ideas?