Hello. I think WebKit doesn't support off-screen rendering. You will have to use one of the ports that support offscreen rendering of the widget. For example recent releases of Gtk+ support offscreen rendering. Or you could do a bit hacking and redraw the html rendering yourself to a custom surface.
Greets, Luka Dne 03.05.2010 (pon) ob 16:03 +0200 je Aris van Dijk zapisal(a): > Hi, > > 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? > > Or do I need a port for that functionality? If so, does anyone know if > this can be simply done by a port, e.g. the Gtk+ port ? > > Bye, > > Aris > > > _______________________________________________ > webkit-help mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
