Just wondering if you have plans to extend SVG conversion to support embedded image conversion?
meber:Just wondering if you have plans to extend SVG conversion to support embedded image conversion?
We are currently using Aspose.pdf to convert SVG images.
Here is a test file that should convert but does not.
// Instantiate LoadOption object using
SVG load option<o:p></o:p>
Aspose.Pdf.LoadOptions loadopt = new Aspose.Pdf.SvgLoadOptions();
// Create Document object
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"C:\pdftest\test.svg", loadopt);
// Save the resultant PDF document
Very interesting. Your attached file DOES NOT have the background image in it. In fact it has the same thing that we have in our file: just a gray box and nothing else. So how can you say you are seeing the background image??? And while my code is different it is basically the same as yours:
the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-35614. We
will investigate this issue in details and will keep you updated on the status
of a correction.
We apologize for this confusion and inconvenience.
The attached image is what it SHOULD look like.
The issues you have found earlier (filed as PDFNEWNET-35614) have been fixed in Aspose.Pdf for .NET 9.4.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
SvgLoadOptions options = new SvgLoadOptions();<o:p></o:p>
options.ConversionEngine = SvgLoadOptions.ConversionEngines.NewEngine;<o:p></o:p>
string inFile = @“35614.svg”;<o:p></o:p>
string outFile = @“35614.pdf”;<o:p></o:p>
Document pdfDocument = new Document(inFile, options);<o:p></o:p>pdfDocument.Save(outFile);