Html conversion failed due to large size image elements contains in html file.

30 views
Skip to first unread message

gowthamra...@gmail.com

unread,
Jun 12, 2020, 3:21:07 AM6/12/20
to headless-dev
Hi ,

I have an html file which contain only a <img> tags in multiple times, each image file has more than 60mb in size. When converting into PDF using chromium, but the html conversion is failed. I have ensured this html file in chrome browser, the print preview also failed for loading. We expected an output PDF document with all the images should preserved. 

Please find the html content below,

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head>
<body>

<img height="360" width="1060" src="D:\image1.jpg?0"></img>
<img height="360" width="1060" src="D:\image1.jpg?1"></img>
<img height="360" width="1060" src="D:\image1.jpg?2"></img>
<img height="360" width="1060" src="D:\image1.jpg?3"></img>
<img height="360" width="1060" src="D:\image1.jpg?4"></img>
<img height="360" width="1060" src="D:\image1.jpg?5"></img>
<img height="360" width="1060" src="D:\image1.jpg?6"></img>

</body>
</html>

Can anyone look into and provide solution for this.

Thanks in advance,
Gowtham

gowthamra...@gmail.com

unread,
Jul 27, 2020, 1:14:31 AM7/27/20
to headless-dev, gowthamra...@gmail.com
We are waiting for this solution. Can someone please provide any solution for this? Thanks in advance.

Regards,
Gowtham 

Tushita Aggarwal

unread,
Mar 31, 2022, 8:30:37 AM3/31/22
to headless-dev, gowthamra...@gmail.com
I have the very same problem with Chrome, was this resolved?

Jerry Lee Daniel

unread,
Nov 19, 2023, 11:23:38 AM11/19/23
to headless-dev, tushitaa...@gmail.com, gowthamra...@gmail.com

Loans, Project and Digital Investment financing available up to $500m.
Have a Business Plan, Fundable Project and Redeemable Collateral.

Whatsapp: +44 7405 896213
Reply all
Reply to author
Forward
0 new messages