Free Support Forum - aspose.com

Insert SVG into Aspose.Word results in black image

Hello,

After inserting a svg into a word document using the following code i get a black image in my word document.
I am currently using Aspose.Words v18.4.0

DemoChart.zip (15.8 KB)

var doc = new Document();
var builder = new DocumentBuilder(doc);
Shape shape = builder.InsertImage(“C:\temp\DemoChart.svg”);
doc.Save(“C:\temp\demo.docx”);

The attached zip files contains the svg and the generated word doc.

Thanks,

@FredericRobberechts,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16675. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16675) have been fixed in this Aspose.Words for .NET 18.8 update and this Aspose.Words for Java 18.8 update.