How to convert WMF file to svg file? I have around 550 WMF files to be converted to SVG format.
For one file, I opened the WMF file in VISIO and saved it as SVG format, but to convert around 550 files is a tedious process.
Please help me Actually, these WMF files are the converted files from the PDF document. So, any better way to convert the PDF image to an svg image ? Currently I converted the PDF schematic diagram into wmf and opened it with visio, so that I can select each circuit or connector by ungrouping and later saved it to SVG format. This svg format, I will import into another tool, where i can select each circuit and connector for further work.
Thanks Ramm
I'll just add a link to the Free EMF/WMF to SVG File Convert Tool 2.0 for future reference.
http://visualstudiogallery.msdn.microsoft.com/dc4e0116-a730-45d2-ae9f-03be676817ea
and the WMF2SVG project over at Github:
https://github.com/hidekatsu-izuno/wmf2svg
For batch processing WMF to SVG you can use Inkscape. You must use the command line. Start it with inkscape --shell
.
Then to convert automagically use:
inkscape yourfile.wmf --export-plain-svg=yourfile.svg
.
To make your life easier, here is a BATCH skript. Create a text file, name it wmftosvg.bat
and place it into the folder with all wmf files. The content of the file:
@ECHO OFF
echo.
echo.
echo. Enter graphic format (like wmf):
echo.
set /p Input1= Graphic file type:
echo.
echo.
FOR %%I IN (*."%Input1%") DO (
setlocal enabledelayedexpansion
C:\Portables\InkscapePortable\App\Inkscape\inkscape "%%~nI.!Input1!" --export-plain-svg="%%~nI".svg
)
With the script above you can convert arbitrary graphics to SVG. Just enter the graphic format (file extension).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With