The Image.Save method does not save the file as the selected file type in Visual Basic .NET or in Visual Basic 2005 (316563)
The information in this article applies to:
- Microsoft Visual Basic 2005 Express Edition
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
This article was previously published under Q316563 SYMPTOMS
When you use the Image.Save method to save a graphic image as a Windows Metafile Format (WMF), Enhanced Metafile Format (EMF), or ICON file type, the resulting file is saved as a Portable Network Graphics (PNG) file instead.
CAUSE
This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that allows you to save files as WMF, EMF, or ICON files.
STATUSThis behavior is by design.REFERENCES
For more information about using image encoders and decoders in Visual Studio .NET, browse to the following MSDN Web site:
Modification Type: | Major | Last Reviewed: | 1/20/2006 |
---|
Keywords: | kbvs2005applies kbvs2005swept kbnofix kbprb KB316563 |
---|
|