Svg to excel creates empty file. Mac M1 .NET6

Hi,
I try converting svg to excel, but the output xlsx file always empty. What am I doing wrong?
I use Mac M1, .NET6, Aspose.PDF 23.10.0 nuget

using var svgDocument = new Aspose.Pdf.Document("my-svg.svg", new Aspose.Pdf.SvgLoadOptions());
svgDocument.Save("my-xls.xlsx", SaveFormat.Excel);

@aptrnk1

Would you please share your sample SVG file in .zip format with us? We will test the scenario in our environment and address it accordingly.

@asad.ali thanks for your reply.
Attaching the compressed svg:
my-svg.svg.zip (5.7 KB)

@aptrnk1

We tested using the latest version of the API and the below code snippet:

Aspose.Pdf.LoadOptions loadopt = new Aspose.Pdf.SvgLoadOptions();
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(dataDir + "my-svg.svg", loadopt);

doc.Save(dataDir + @"SVG.xlsx", new ExcelSaveOptions());

SVG.zip (5.0 KB)

The attached output looked fine. Can you please make sure that you are using the API with a valid or 30-days free temporary license?

HI @asad.ali
It still doesn’t work for me.
I use the valid license since on Windows it works correct.
I also followed these instruction to install libgdiplus in macOS:

I’ve attached the solution, could make sure you run it on Mac M1 with .NET 6?
It is a simple console app to convert svg to excel.
Once you run it the “target-xls.xlsx” file should be generated in your bin folder. It is still empty for me.
TestAspose.zip (9.6 KB)

@aptrnk1

We are sorry for the trouble that you are facing while using the API in MacOS. Can you kindly uninstall Aspose.PDF for .NET from you solution and install Aspose.Pdf.Drawing instead from NuGet Package Manager? Please try with Aspose.Pdf.Drawing and see if it resolves issue. You would not require any code changes as it contains all classes and methods similar to Aspose.PDF for .NET except, it is built for non-Windows environments. In case issue keeps persisting, please let us know.

Hi @asad.ali
it works now, thanks.
Do you have a corresponding info in your documentation that Aspose.Pdf.Drawing should be used for non Windows env?
Also, will Aspose.Pdf.Drawing work on WIndows as well? Since we have developers work on both, Windows and non-Windows env.

@aptrnk1

At the moment, we have publishing the Aspose.Pdf.Drawing API as trial release. Once we are sure, we will simply make it permanent part of existing Aspose.PDF for .NET. Therefore, we have not mentioned it in our documentation.

Yes, it will work in both Windows and Non-Windows environments.