Hello,
We try to convert an HTML/URL to an image using Aspose.HTML with Java and we can’t since the documentation seems not to be updated.
Indeed, it misses some classes in last version of Aspose.HTML 20.8
We also made others tests with Aspose.Words to make the conversion but the quality of the image is not what we expect.
To be more precise, we try to convert an HTML or an URL to an image
For this, we have tested :
1 - Using Aspose.HTML to convert HTML to Image (PNG)
–> https://docs.aspose.com/html/java/html-to-image-conversion/#convert-html-to-png
2 - To convert from URL to PDF and then to image using Aspose.PDF
–> https://docs.aspose.com/pdf/java/convert-html-to-pdf/
–> https://docs.aspose.com/pdf/java/convert-pdf-page-to-image/#convert-all-pdf-pages-to-png-images
3 - To convert from URL to image using Aspose.Words
–> https://stackoverflow.com/questions/34204204/from-url-to-image-with-aspose-in-java
4 - To convert from a HTML file to image using Aspose.Words
Nothing of thus solutions are satisfying.
Can you help us using your tool please with an exemple of code in Java?
For exemple, can we test with this URL https:// www.lemonde. fr/economie-mondiale/
Thanks in advance