[webkit-help] Render to image
ARaj
araj2609 at gmail.com
Tue May 11 23:39:23 PDT 2010
Hi,
FrameView class has a method paintContents which can do that.
If you need the complete HTML document to be rendered, you need to
call this method on the mainFrame.
Regards,
Raj.
On Mon, May 3, 2010 at 8:54 PM, Ariya Hidayat <ariya.hidayat at gmail.com> wrote:
>> Simple question: is it possible to render an HTML document to an image using
>> the WebKit Core? If so, can someone provide a code example?
>
> I don't know about other ports, but it is dead easy with QtWebKit, see
> http://labs.qt.nokia.com/blogs/2009/01/15/capturing-web-pages/ for
> details
> (the code is at
> http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/webcapture).
>
> Regards,
>
> --
> Ariya Hidayat
> http://www.linkedin.com/in/ariyahidayat
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
More information about the webkit-help
mailing list