Link to home
Start Free TrialLog in
Avatar of sstamm
sstamm

asked on

How can I convert SVG to EMF? Batch conversion would be best.

I have a large number of SVG viles that need to be converted to EMF. I have looked for two days now and can't find anything that does a good job.

Any ideas?

Thanks!

Steve
ASKER CERTIFIED SOLUTION
Avatar of lherrou
lherrou
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lobo042399
Lobo042399

Hi Steve,

Your best option would be to install CorelDraw and use its powerful VB scripting to create a Save As batch macro. CorelDraw supports both SVG and EMF in their native vector form.

The problem with converters like Blaze, AutoImager, Advanced Image Converter, Rea Converter, and others like them is that they rasterize the images as they convert them and that kills their vector scalability in the process. Some of them won't even give you the option to select a resolution for the resulting raster image.

Good Vibes!

Lobo

Avatar of sstamm

ASKER

Lobo,

I noticed that when I converted a test image using some of these tools that they produced a rather rough looking raster... I will check out CorelDRAW and see if my budget can afford it. The last time I looked I think it was about $400. Corel sells another product called Paintshop Pro that may be able to handle it too. and it's only $99! :)

Thanks.

Steve
Steve,

I have PSP (not that I use it much) and it does have _some_ vector capability. But, for example, if you look at the samples at http://www.croczilla.com/svg/samples/, of the first three samples (Arcs 1, Butterfly, Chem 1), I was only able to open Chem 1 with PSP. After opening, I could save it as EMF. The good news is that if you have the download capability, you can test PSP for 60 days for free.

Cheers,
LHerrou
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sstamm

ASKER

The biggest problem with SVG editors, so far as this particular problem is concerned, is that they lack support for EMF. I have found a few batch converters but they either rasterize the SVG or they so not correctly read the svg. This is very frustrating. There must be a way. I appreciate all the help so far, but... still no solution.
Steve,

BillMercer's link for Eve looked promising. Otherwise, I wonder if there is a way to do it through an interim step - convert the SVG files to
some other vector format, and then convert that format to EMF?

Also, I don't know if Inkscape can output in any other format besides SVG, but maybe take a look? http://www.inkscape.org/doc/index.php
Inkscape doesn't support WMF/EMF directly, but it can do EPS, and there are tons of EPS-toWMF options.
Avatar of sstamm

ASKER

I tried that. Sadly, none of the EPS to EMF converters seem to work very well.

Steve
You could always spring for a copy of Adobe Illustrator. It's expensive, but it can do what you want.

Avatar of sstamm

ASKER

Ok, I answered my own question and it wasn't easy. I post it here in the event anyone else needs to do this. I used Microsoft Visio 2003. I found that you could open an SVG file and Visio would render it correctly and then I could write them out to an EMF file. Next I wrote a automation wrapper to drive the whole thing. When I ran it, it took over an hour to convert 4500 SVGs so it isn't exactly an interactive/real-time method, but it works! There are probably some more straightforward ways of doing this but I searched high and low for over two weeks and couldn't find it.

Steve
The same method but using CorelDraw instead of Visio was suggested on http:Q_21401599.html#13961800. The procedure is exactly the same.
Hmm, I wouldn't say EXACTLY the same. Similar, certainly.
Open EMF.
Save As SVG.
Create macro and run.

Same thing.
You left out:
  Go to store.
  Buy copy of CorelDraw.
:)
The trial version allows you to save regular files without sticking watermarks on them?
That's pretty cool!

Corel has never inserted watermarks on images saved with trial copies of any of its products. These are fully functional versions of the software and the only difference with the retail version is that there's an expiry date.