Image size not getting correct after HTML to PDF conversion

Hi Team,

This is regarding the conversion of HTML to PDF using (Convert HTML To PDF Online)
When we convert HTML file with a image added from a URL the resultant PDF file does not result in consistent image height-width specified in the HTML. The fies are attached below: HTML file and Resultant PDF file.

Expected output: The PDF file as output should have the same height-width as that of a source HTML file.

HTMLToPDF_Issue.7z (26.2 KB)

@pthube
This issue is reproduced at our end. Therefore, we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFAPPS-6275

Hello, pthube

Could you use this link? The image and page size may be feet to your requirements.

[Convert HTML to PDF | Online and Free](Convert HTML to PDF | Online and Free)

Very interested on your feedback!

Hello
The above link is working fine, Which version of aspose library do we need to use to get the expected output?

@pthube

We used Aspose.PDF 24.10 in this web application.