When converting a PDF to HTML, we sometimes have images & text combinations in the source file, such as when a table of numbers is slightly skewed on the page. The PDF includes the image and also a layer of selectable text on top of the image.
Using AsposePDF to convert to HTML, the image is included correctly, but the selectable text is missing.
Attached is a file exhibiting the behavior. For the two tables, the Aspose HTML version has an image, but no selectable text.
Is there a way to ensure the layer of text is not discarded by AsposePDF during conversion?
Would you please use following code snippet with Aspose.PDF for .NET 19.2 and in case you still face any issue, please feel free to let us know. For your kind reference, output HTML is also attached.
Please keep using our API and in case you need further assistance, please feel free to create a new post. We will be more than happy to assist you accordingly.