Free Support Forum - aspose.com

Convert .SVG to .Pdf efficiently

Dear Sirs

I am using the Aspose.Image to convert the .SVG to pdf file. Here is the code sample which is very standard. The converted file seems to good. But it takes more than 10 seconds for conversion. I am wondering if there are anyway i can accelerate the performance?

using (var image = Aspose.Imaging.Image.Load(“ReportEventList.svg”) as Aspose.Imaging.FileFormats.Svg.SvgImage)
{
image.Save(“ReportEventList.pdf”,
new PdfOptions
{
VectorRasterizationOptions = new SvgRasterizationOptions
{
PageSize = image.Size
}
});
}

Best Regards
Jeff W

@weibanban,

In order to proceed further with investigation and verifying whether time taken to export is justified or not, we request you to please share source SVG and PDF file with us.