Hi,
Out initial testing of 24.11 shows a significant increase in times when saving as HTML for some documents. In one case it was over twice as long. I cannot share that particular document but you can see something similar (50% longer) with the example file here:
PDFURIActions.Yes.pdf (259.7 KB)
Code is similar to below:
Aspose.Pdf.HtmlSaveOptions aspPdfHtmlSaveOptions = new Aspose.Pdf.HtmlSaveOptions(Aspose.Pdf.HtmlDocumentType.Html5);
aspPdfHtmlSaveOptions.RasterImagesSavingMode = Aspose.Pdf.HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
aspPdfHtmlSaveOptions.PartsEmbeddingMode = Aspose.Pdf.HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
Aspose.Pdf.SaveOptions.BorderPartStyle aspPdfBorderPartStyle = new Aspose.Pdf.SaveOptions.BorderPartStyle();
aspPdfBorderPartStyle.LineType = Aspose.Pdf.SaveOptions.HtmlBorderLineType.Solid;
aspPdfBorderPartStyle.Color = System.Drawing.Color.LightGray;
aspPdfHtmlSaveOptions.PageBorderIfAny = new Aspose.Pdf.HtmlSaveOptions.BorderInfo(aspPdfBorderPartStyle);
aspPdfDocument.Save(FilePathDestination, aspPdfHtmlSaveOptions);
The only change was the update from 24.10 to 24.11
Is there a reason for this increase in rendering time? Can we overcome this via a setting?