You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: