Comment 2 for bug 1455129

Revision history for this message
Olivier Tilloy (osomon) wrote :

With a custom QObject inserted in the scene, written in C++ and that calls QQuickItem::grabToImage() on the WebView, I am able to get back a QImage which I can then manipulate to crop the black rectangle. As a bonus, I can also increase the compression factor when saving as a JPEG, thus saving disk space and loading time.