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

Free Support Forum - aspose.com

Aspose.Cells save to html - positioning of embedded bitmap

dear support,

I am editing an Excel with embedded picture.
When I save the file as html, the size of the picture is increased in the html.
I am using version 18.3 of aspose.cells and cannot migrate for various reasons
In attachment the source excel and the resulting html
Code is simple
Dim asposelicense As Aspose.Cells.License = New Aspose.Cells.License()
asposelicense.SetLicense(“Aspose.Cells.lic”)
Dim w1 As New Aspose.Cells.Workbook(“C:\MWorks\Webpages\MWorks_Calcs\CalcsOverview.xlsx”)
w1.Worksheets(0).Cells(“A21”).PutValue(DateTime.Now.ToString)
w1.Save(“C:\MWorks\Webpages\MWMWorks_Calcs.zip (93.7 KB)
orks_Calcs\CalcsOverview.html”, Aspose.Cells.SaveFormat.Html)

@GuidoDeBouver,

Thanks for your query.

We have tested this code with the sample XLSX file and converted it to HTML. No issue is observed and image positioning is similar to the original image in XLSX file. Same sample XLSX file is converted to HTML using Excel 2016 and output is compared with the output of Aspose.Cells application. Both the images are similar and no issue is found. You may please test this issue with the latest version Aspose.Cells for .NET 18.7.6 by downloading it from the following link:

Aspose.Cells for .NET 18.7.6

Please note that we do not provide fixes for the older versions. You may please upgrade your application to the latest version and test this issue again.