Large size html image elements are not preserved while export into PDF
-
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 WebKit, it's preserves a empty content in a output file. 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 resolution for this.
Thanks in advance,
Gowtham -
Hi and welcome to devnet,
If you would like somebody to test something to help you, you should provide:
- the Qt version you are using
- the OS you are running
- a minimal compilable example that reproduce the behaviour.
-
We are using QT5 version in windows 10 environment. We have shared the html content for reproducing the issue. You can use any image file has more than 60mb size in that html content.
Please let me know if you have any requirement from us.
Regard,
Gowtham K -
Qt 5 is a series, what exact version are you using ?
I already stated the requirements: a minimal compilable exemple that shows the behaviour.