google is your friend (search gdk pixbuf java) ! try http://developer.gnome.org/doc/API/java-gnome/libgtk-java-2.10.0/api/org/gnu/gdk/Pixbuf.html but I'm not a java coder.
Olivier krithika wrote: > On Apr 27, 1:28 pm, Olivier Danes <[EMAIL PROTECTED]> wrote: >> 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 > > I have embedded gecko in a java application.I have a gtk window handle > created and used in baseWindow.initWindow.How do I do this in that > case. > > Thanks for the help, > Krithika > > _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
