Re: VB6: Convert EMF 2 SVG.
It would certainly be possible to create such a converter using VB code. But it wouldn't be easy. To do this you would have to parse the EMF accordingly and draw all the drawing operations on an SVG. As of the Windows 10 Creators Update, an SVG can be created via the interface ID2D1DeviceContext5::CreateSvgDocument -> ID2D1SvgDocument etc. Or you can create a corresponding SVG-XML from the EMF.
Otherwise, various online converters can be found, Inkscape should be able to do that too. https://stackoverflow.com/questions/...s-to-svg-files
Re: VB6: Convert EMF 2 SVG.
Quote:
Originally Posted by
-Franky-
It would certainly be possible to create such a converter using VB code. But it wouldn't be easy. To do this you would have to parse the EMF accordingly and draw all the drawing operations on an SVG. As of the Windows 10 Creators Update, an SVG can be created via the interface ID2D1DeviceContext5::CreateSvgDocument -> ID2D1SvgDocument etc. Or you can create a corresponding SVG-XML from the EMF.
Otherwise, various online converters can be found, Inkscape should be able to do that too.
https://stackoverflow.com/questions/...s-to-svg-files
I tried to create a small component on C# using Magick .net or "something": unfortunately it doesn't take care of the "vector conversion"...but what it does is simply serialize the image based on the extension,
(in my case it only put me a miserable "tag" at the top :) .... Maybe the emf "play" internally goes into error ...so it try to serialize...who knows...
I'll try this Inkscape...
Thanks for your advice.