Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Hi,
for many years, wkhtmltoimage and wkhtmltopdf, both based on webkit/Qt5, where the command line tools of choice to convert html to an image or pdf file in Makefiles, scripts, etc. and were quite useful.
Unfortunately, both are unsafe and full of bugs and security issues, and not maintained anymore, thus get dropped from linux distributions.
This left a big gap.
I've seen that the qt documentation shows an example of using webengine to convert HTML to PDF under
https://doc.qt.io/qt-6/qtwebengine-webenginewidgets-html2pdf-example.html
which seems to be a functioning example to convert html to pdf, but I am not enough familiar with Qt, and do not follow it's progress, to write a tool to convert html to an image.
I'd therefore like to propose that Qt (which obviously knows itself and it's codebase best) would come with command line tools like wkhtmltoimage and wkhtmltopdf, but based on QT6+Webengine.
That would be great.
best regards