Thumbnail Generation from Web Links

Hi Team,

We have a requirement to generate thumbnail images from webpage URL. Which one of the Aspose product (s) can fulfill this requirement & how?

Thanks

Hi Arul,


Thanks for your interest in our API’s.

We have an API named Aspose.Pdf for .NET which supports the feature to read the contents of web URL and save the output in PDF format. It also offers the feature to load PDF files and save them as Image. So as per your requirement, you can load the URL contents, save the output in MemoryStream, instantiate Aspose.Pdf.Document object with same MemoryStream object and save the output in image format. For more details, please visit

We have tried with the below conversion.

Convert HTML to PDF Format → Convert Web page to PDF (C#).<?xml:namespace prefix = “o” ns = “urn:schemas-microsoft-com:office:office” />

I tried with the same code and added additional code for license. and we are using Aspose.pdf version 9.3.0.0 (v2.0.50727).

But we are not getting the web page as it is. For example we have tried with http://www.aspose.com/ to generate a PDF file (attached with this mail). But the PDF file is not exact same as the web page. Please guide us to generate a PDF file as it is in the web page.

Hi Arul,


Thanks for sharing the details.

Please note that HTML to PDF conversion is a complex scenario and I am afraid in some scenarios (where source HTML is complex), the resultant PDF is not identical to input file. However, if you are facing an issue while converting one of your HTML files, please share the document so that we can test the scenario at our end.

Our requirement is converting web page link to PDF.

we have used the same code mentioned in the below URL

Convert HTML to PDF Format → Convert Web page to PDF (C#).

we have tried with http://www.aspose.com/ to generate a PDF file (attached the converted PDF along with this reply). But the PDF file is not exact same as the web page. Please guide us to generate a PDF file as it is in the web page.

Hi Arul,


Looks like your response in earlier post 555704 is re-posted. However, as requested earlier, please share the specific link/HTML so that we can test the conversion at our end.

For this scenario, please try with http://www.aspose.com/.

Please Convert the above web page to PDF.

Hi Team,

Have you tried with this scenario, please try with http://www.aspose.com/ as a web page and please Convert the this web page to PDF.

Please compare the web page and the ASPOSE generated PDF file, these two’s are totally different. please provide a right solution for this.

Hi Arul,


Thanks
for your patience.<o:p></o:p>

I have tested the scenario and have observed that there are many formatting issues when converting URL to PDF format using Aspose.Pdf for .NET 9.3.0. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-37137. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.