views:

415

answers:

4

Does anybody know of a library or a piece of code that can read EMF (Enhanced Metafiles). Ideally it would convert an EMF to a list of drawing commands and objects?

+1  A: 

Wikipedia article on Windows Metafile has a lot of relevant information on EMF. Check external links for libraries and format specification.

Josip
+1  A: 

The Apache Image Loader Framework (Java) can read EMF file and convert then to SVG, it can also read WMF using 3rd party plugin.

Shay Erlichmen
+1  A: 

What language are you working in ? You might look at our MetaDraw ( available as OCX or .NET Winforms component ) This will load EMF files and allow you to cycle through the elements ( lines, shapes, text ). You can then identify the parameters ( coordinates, line thickness, colors, etc) More details at www.MetaDraw.com

A: 

Hi,

can anyone please help me, I've got the same problem reading an emf file and converting it to a png or jpg. freehep vectorgraphics org.freehep.graphicsio.emf.EMFConverter does not work, it just fires an exception and apache image loader just says that the required loader codec misses.

Where do I get it ?

Kim Ragna Mertens