Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zydjohnHotmail opened this issue Jul 10, 2021 · 1 comment

Comments

@zydjohnHotmail
Copy link

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
Copy link
Collaborator

@zydjohnHotmail

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants