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!