Alberto Mardegan a écrit :
On 07/15/2013 09:40 AM, Olivier Tilloy wrote:
An update on my work on generating thumbnails for web pages:
I solved my problem by writing a custom QQuickItem that, when updated,
renders the webview into a FBO and saves the contents of that FBO to a
file. The WebviewTh
On 07/15/2013 09:40 AM, Olivier Tilloy wrote:
> An update on my work on generating thumbnails for web pages:
>
> I solved my problem by writing a custom QQuickItem that, when updated,
> renders the webview into a FBO and saves the contents of that FBO to a
> file. The WebviewThumbnailer (as I name
An update on my work on generating thumbnails for web pages:
I solved my problem by writing a custom QQuickItem that, when updated,
renders the webview into a FBO and saves the contents of that FBO to a
file. The WebviewThumbnailer (as I named it) is not updated by default,
it has to be reques
On 2013-05-23, Jocelyn Turcotte wrote:
Hello,
if you want a QImage you should have a look at QQuickWindow::grabWindow().
It only works on the whole scene, so currently you would have to cut the part
that interests you out of the QImage.
Thanks for the pointer. The documentation for this meth
Hello,
if you want a QImage you should have a look at QQuickWindow::grabWindow().
It only works on the whole scene, so currently you would have to cut the part
that interests you out of the QImage.
Cheers,
Jocelyn
On Thu, May 23, 2013 at 09:20:18AM +0200, Martin Leutelt wrote:
> Hi Olivier,
>
Hi Olivier,
I guess that what you want to do could be achieved in several ways, depending on
which version of Qt/QML you're using.
Assuming you're using QtQuick1:
- write a QML-Plugin in which you create a custom painter that writes to an
image, then pass that custom painter to
the paint method