We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

draw to convert emf to svg [closed]

asked 2017-07-16 18:50:00 +0200

ngong gravatar image

updated 2021-06-16 20:30:33 +0200

Alex Kemp gravatar image

Loaded a simple diagram, exported it as svg. Text has been preserved. Lines have disappeared.

When opening the .svg I expected to see about the same graphic as when opening the .emf. Can i have done something wrong? Any help available?


you may download the small emf from http://home.august.de/p4.emf

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-10-09 22:20:57.178985

2 Answers

Sort by » oldest newest most voted

answered 2017-07-17 06:41:39 +0200

ngong gravatar image

updated 2017-07-17 06:55:46 +0200

Thank you Grantler. I should have mentioned that the .emf file is an export on Win7 by the UML program Enterprise Architect version 12.1. (EA). I suppose - but I am not sure - that EA uses Win7 system routines to create .emf files.

.emf on Win7:

  • The .emf file is correctly shown on Win7, e.g. paint (although the font looks ugly) or PowerPoint (better, but font has still problems: letters are too narrow, whole words look like one glyph)

.emf on LibreOffice:

  • The .emf file is correctly shown (e.g. on Linux) with LibreOffice Draw (letters are too narrow, too)

.emf on Inkscape:

  • The graphics is mirrored upside-down and not aligned to the text (the font looks good)

.emf exported by Draw to .svg:

  • by Draw: The .svg is empty when opened.
  • by Inkscape: The .svg shows text only when opened.

.emf converted by Inkscape: inkscape --file emf\p4.emf --export-plain-svg svg\pv-inksc.svg

  • by Draw: graphic is clipped on top, failure of reading the .emf remains and new failure: rectangle with big border appeared
  • by Inkscape: Conversion looks good, the failure of reading the .emf remains: upside-down graphic, not aligned

.emf converted by the commercial emf2vector:

  • by Draw: just a black rectangle
  • by Inkscape: best result so far, however, color is wrong and shadow rectangle is not hidden.

My conclusions - also based on your answer Grantler:

  • .emf is usable as a graphics-vector format on MS Windows or using Draw on any OS, it is not convertable to .svg, yet.
  • .svg - although specified by W3C - has no reference implementation, therefore it can not be proved that it works, yet
  • .svg works sufficiently only within one program
  • if you want to use a graphic in different programs, also on Linux or OS-X stick to .png. Vector formats do not work, yet.

Kind Regards


(sorry for the layout, the editor is too hard to operate)

edit flag offensive delete link more

answered 2017-07-16 19:43:18 +0200

Grantler gravatar image

updated 2017-07-16 19:52:42 +0200


Can i have done something wrong? (Probably yes: you didn't tell that your emf file was not produced on LibreOffice but on another source program. ;-) )

The downloaded emf file can be losslessly opened on LibreOffice Export to wmf is well shown on Inkscape but not on LibreOffice itself.

Export to the wanted svg format is damaged (on LibreOffice and Inkscape as well).

Inkscape is not able to show the emf file losslessly. It is critically damaged.

The emf file can't losslessly be converted or be broken on LibreOffice so my assumption is that you have imported the file from another source but not LibreOffice itself (did you mention that?).

There are lots of problems with svg and other formats on LibreOffice if imported from another source program(s). Think about the Wikipedia and its drawings in svg format. Regularly one is not able to edit them satisfyingly.

The only solution of proceeding may be to edit your emf file on its source program or to re-build it on LibreOffice and then to convert it to other file format(s).


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-16 18:50:00 +0200

Seen: 2,374 times

Last updated: Jul 17 '17