kakwa / libemf2svg

Microsoft (MS) EMF to SVG conversion library
GNU General Public License v2.0
95 stars 32 forks source link

invalid record #14

Closed ofirdev closed 7 years ago

ofirdev commented 7 years ago

I can open this WMF with MS Paint but libemf2svg gives me a warning: WARNING(scanning): EMF file does not begin with an EMR_HEADER record ABORTING(scanning): invalid record - corrupted file?

WMF was taken from here.

ofirdev commented 7 years ago

Another WMF with the same problem. Taken from here.

kakwa commented 7 years ago

libemf2svg doesn't handle WMF files.

You can use http://wvware.sourceforge.net/libwmf.html for that (I use it in https://github.com/kakwa/libvisio2svg)