We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Background format wrong in svg

Workbook wb = new Workbook("C:/工作簿3.xlsx");
HtmlSaveOptions options = new HtmlSaveOptions();
wb.save("C:/工作簿3.html", options);

File extension is SVG , but it is a PNG file not SVG/xml file


Thanks for your posting and using Aspose.Cells.

We have tested this issue with the latest version using your sample code and sample excel file and found that background image is in PNG format. It should be in SVG format.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-41783 - Background image should be in SVG format but it is in PNG format

I have attached the output html generated from your excel file for a reference.


Thanks for using Aspose.Cells.

We are working over your issue and hopefully, we will provide you a fix asap. Once, the fix is available for you, we will let you know by posting the fix link here.


Thank you for being patient. In reference to the ticket ID CELLSJAVA-41783, please download and use the latest Hotfix version: Aspose.Cells for Java 17.3.2. Please also let us know how that goes on your side.

The issues you have found earlier (filed as CELLSJAVA-41783) have been fixed in Aspose.Cells for Java 17.4.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan