Free Support Forum - aspose.com

Imaging SVG to PDF conversion issue

Hello,

We are trying to convert SVG file to PDF and it fails
btw, we able to convert the same to PNG

here is the file example: svg_example.zip (12.8 KB)

The code we use:

public void FileToPdf(Stream input, Stream output)
{
    using (var image =  Image.Load(input))
    {
        var exportOptions = new PdfOptions
        {
            PdfDocumentInfo = new Aspose.Imaging.FileFormats.Pdf.PdfDocumentInfo()
        };

        image.Save(output, exportOptions);
    }
}

Thanks!

@gwert,

I have observed the issue shared by you and have been able to observe the issue. An issue with ID IMAGINGNET-3819 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as IMAGINGNET-3819) have been fixed in this update.