Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save metafile in C#

Tags:

c#

.emf

wmf

If I have a wmf or emf image in System.Drawing.Image, is there a way to save the metafile data with c# without rendering it as a bitmap? Calling Image.Save will render it to a bitmap and I want to keep the original data so that it would still be a valid .wmf or .emf format file.

like image 635
Chris Miller Avatar asked Apr 09 '09 04:04

Chris Miller


1 Answers

Despite this MSDN page, it is possible to save a true EMF file. See this question: gdi-c-how-to-save-an-image-as-emf

like image 83
Han Avatar answered Sep 19 '22 22:09

Han