aspose-imaging / Aspose.Imaging-for-.NET

Aspose.Imaging for .NET examples, plugins and showcase projects
https://products.aspose.com/imaging/net
MIT License
46 stars 27 forks source link

Try to convert PNG to SVG image file, but the result has one dash-line cross #21

Open zydjohnHotmail opened 3 years ago

zydjohnHotmail commented 3 years ago

Hello: I have tried to convert some PNG files to SVG files, using the code: convert-png-to-svg.cs using System; using System.IO; using System.Text; using System.Collections.Generic;

// load the PNG file in an instance of Image using (var image = Aspose.Imaging.Image.Load(@"template.png")) { // create an instance of SvgOptions var options = new Aspose.Imaging.ImageOptions.SvgOptions(); // save PNG as a SVG image.Save(@"output.svg", options);

} It works, but the converted SVG file has one big dash-line cross for the entire image. Let me know if I missed anything, do I have to buy some license, just for personal usage for about 10 images.

muhammad-ijaz commented 3 years ago

@zydjohnHotmail

Please post this query to Aspose forums https://forum.aspose.com/ to get a fast reply.