var doc1 = new Aspose.Pdf.Document("E:\bkp\MyData\VistaarFiles\FILESORG_1\TempFiles\\asdf.pdf");
HtmlSaveOptions newOptions = new HtmlSaveOptions();
newOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
newOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
doc1.Save("E:\bkp\MyData\VistaarFiles\FILESORG_1\TempFiles\\asdf.html", newOptions);
Would you please share your sample PDF document for our reference so that we can test the scenario in our environment and address it accordingly. Please make sure you test the scenario with 23.10 version of the API as well before sharing the requested information.