JumpyNET Posted April 22, 2008 Posted April 22, 2008 Is it possible to save the graphics drawn with GDI+ in vector format? Quote
Administrators PlausiblyDamp Posted April 22, 2008 Administrators Posted April 22, 2008 (edited) System.Drawing.Imaging.Metafile is probably the best option, msdn has some information however it does look a bit of an odd class to work with at first glance. Edit: Ignore me, as usual marble eater is talking sense and bothering to do real research... Edited April 22, 2008 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Leaders snarfblam Posted April 22, 2008 Leaders Posted April 22, 2008 The .Net Framework does not have any support for saving vector images. It treats them internally as System.Drawing.Imaging.Metafile objects (as opposed to System.Drawing.Bitmap objects) but the Metafile.Save method does not save a vertor image. When you use the Save method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file instead. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files.[/Quote] Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.