Hello,
I thought that exporting SVG to WMF (Windows Metafile) would be an easy task using Inkscape because it actually supports exporting to EMF (Enhanced Metafile), but it did not.
I do not why but the EMF export is not working as expected, for instance, exporting a color-filled circle result in an empty circle in EMF.
After several trials I get acceptable results by first exporting the SVG file to ODG (OpenDocument Drawing), then in OpenOffice export the drawing to the desired WMF fileformat.
I do not know if this process could be automated, if someone could do that would be really great.
Best regards, and Inkscape rules!!
Douglas
SVG to WMF
Re: SVG to WMF
Douglas Acosta wrote:exporting a color-filled circle result in an empty circle in EMF.
I get a colour-filled circle, both in Inkscape 0.45.1 and in Inkscape 0.46pre3. Which version of Inkscape are you using?
As for converting SVG to WMF, you might like to try UniConvertor, which claims to be able to do this. I don't know how well it works.
Development versions of Inkscape now rely on UniConvertor for CDR and WMF import, so WMF export may be added in the same way before long.
Re: SVG to WMF
If your circle fill used any transparency, that may be why it didn't appear in the EPS version. EPS doesn't support transparency.
Re: SVG to WMF
microUgly wrote:If your circle fill used any transparency, that may be why it didn't appear in the EPS version. EPS doesn't support transparency.
Good idea, although it was EMF, not EPS, and I don't know whether EMF supports transparency. But saving as EMF with a low-alpha fill gives an opaque fill in the EMF, so I still can't reproduce the original poster's problem.
Re: SVG to WMF
sas wrote:Douglas Acosta wrote:exporting a color-filled circle result in an empty circle in EMF.
I get a colour-filled circle, both in Inkscape 0.45.1 and in Inkscape 0.46pre3. Which version of Inkscape are you using?
Hello, thanks for the attention
I am using Inkscape 0.45.1.
The problem is that (in my tests) the Inkscape "EMF file export" function is not working properly
As I told in the first post, I draw a circle (no effects) filled in solid blue, solid black stroke of 1 pixel width.
You are right sas, in both scenarios (exporting from Inkscape and OpenOffice to EMF) the final result is a filled circle, but I need to go inside the picture, the results are different.
1. From Inkscape SVG to EMF file format.
Opening this exported file I get an empty circle using an EMF/WMF editor show that the circle is just a sequence of segments (several shapes) that look like an empty circle.
2. From Inkscape SVG to ODG then from OpenOffice ODG to EMF (I need WMF, for the test the final format is the same)
Opening this exported file with the same EMF/WMF editor show two shapes the perimeter (black) and the blue circle.
Questions:
Why Inkscape exports the circle as a sequence of segments and OpenOffice exports it as a shape?
Could be the EMF/WMF editor that is not reading the exported files correctly, but why I get the result I wanted in the second scenario and I could not get the same results in the first one?
Best regards,
Douglas
P.S. How could I upload the sample files?
Re: SVG to WMF
Douglas Acosta wrote:How could I upload the sample files?
See Where do I upload my images?.
But if Inkscape is producing incorrect EMF output, it would be best to report that on Launchpad. You can attach files there.
Re: SVG to WMF
Ok, I have notified as a bug this exportation trouble
But the first question was, is there any way to automate the process of exporting from inkscape to odg and export from openoffice to wmf/emf.
Is there any way to do that in one step?
Regards
But the first question was, is there any way to automate the process of exporting from inkscape to odg and export from openoffice to wmf/emf.
Is there any way to do that in one step?
Regards
Re: SVG to WMF
Douglas Acosta wrote:Is there any way to do that in one step?
I don't know about doing it in one step, but you can install SVG Import Filter for OpenOffice and this will save you the step of having to save your SVG as ODG with Inkscape first (I think it's kinda strange OpenOffice doesn't adopt SVG by default).
Re: SVG to WMF
Hallo!
I have the same problem. Want to convert svg (or better sla) to wmg, but after hour of searching, nothing works. How can I konvert the text to a path? Maybe that could help me a little. Thanks for help!
Lg
hubert
I have the same problem. Want to convert svg (or better sla) to wmg, but after hour of searching, nothing works. How can I konvert the text to a path? Maybe that could help me a little. Thanks for help!
Lg
hubert
Re: SVG to WMF
You'll find the "Object to path" option under the "Path" menu.