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.
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.