How to convert an html webpage to a picture like google preview.
Is there a Java library permitting this?
Is there a command-line argument to call browsers to make them convert a web page into a picture .png for instance?
Using Qt, you can create a simple window with a QWebView (this is webkit under the covers), and then use QWidget::render() method to get QPixmap, and then convert it to QImage.
Qt is C++, but python and java bindings exist also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With