how to convert image from emf to svg

Asked by Danillo on 2011-08-09

I need to transform a emf image to svg. I tried opening the emf in LibreOffice Draw and exporting it to svg, but the resulting file is totally messed up and my computer even freezes when trying to open it. Does anyone know another way to do it? Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu imagemagick Edit question
Assignee:
No assignee Edit question
Last query:
2011-08-09
Last reply:
2014-06-04

install imagemagick and you may be able to run:

convert filename.emf output.svg

HTH

wv may also do it (also command line)

Danillo (danillo) said : #3

Thank you! Imagemagick asks some questions I didn't know how to answer:

danillo@danillo:~$ convert image.emf image.svg
Covert Project Database
Version 1.4, 28th May 1997
Please enter database to convert:

Available types are:
0. Flat file - created with this program
1. xdap database
2. xbap database

Database type?
Database name?
Database version?

Please enter database to create:

Available types are:
0. Flat file - created with this program
1. xbap database
2. xgap database

Paul Sladen (sladen) said : #4

Danillo: "Covert"(no 'n') is nothing to do with Imagemagick "convert". Covert is a tool for converting ancient database formats; see an example of Covert at:

  http://staden.sourceforge.net/manual/gap4_unix_176.html#SEC276

Paul Sladen (sladen) said : #5

As a more general follow-up, I didn't find a pragmatic command-line solution that was reliable. Out of everything I tried, the only reliable method was:

  1. Open in Libreoffice Draw, and load file
  2. Export whole page as PDF
  3. Open PDF in Inkscape

Can you help with this problem?

Provide an answer of your own, or ask Danillo for more information if necessary.

To post a message you must log in.