Hi,

if you use the gtk widget you can do it with the GDK pixbuf toolkit:
     GdkPixbuf *pixbuf;
     pixbuf = gdk_pixbuf_get_from_drawable (NULL, widget->window, NULL,
                         widget->allocation.x, widget->allocation.y, 0, 0,
                         widget->allocation.width, 
widget->allocation.height);


where widget is the widget returned by gtk_moz_embed_new()


Olivier

krithika wrote:
> Hi,
> 
> I have embedded gecko in my server side ( non gui mode).I navigated my
> url and i have the rendered DOM Document.
> 
> Can this rendered DOM Document be converted to image?.If yes how do I
> do it?
> 
> Thanks in Advance,
> Krithika
> 
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to