Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-04-02 Thread Aurimas Juška
On 3/23/07, Sven Neumann [EMAIL PROTECTED] wrote: What you are asking for is currently not possible. There are some ways to get something close though. It would help a lot if you could explain what exactly you want to achieve. We could then see if there are already ways to do that or if a new

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-23 Thread Aurimas Juška
On 3/22/07, Michael Natterer [EMAIL PROTECTED] wrote: I would say making a screenshot and loading the resulting file with gdk_pixbuf_new_from_file() is probably the easiest way. I would like to implement something like GdkPixbuf gimp_image_render_gdk_pixbuf (GimpImage) or even more general void

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-23 Thread Michael Natterer
On Fri, 2007-03-23 at 10:45 +0200, Aurimas Juška wrote: On 3/22/07, Michael Natterer [EMAIL PROTECTED] wrote: I would say making a screenshot and loading the resulting file with gdk_pixbuf_new_from_file() is probably the easiest way. I would like to implement something like GdkPixbuf

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-23 Thread Aurimas Juška
On 3/23/07, Michael Natterer [EMAIL PROTECTED] wrote: I could imagine just another copy whatever function that does this. You could then simply paste the buffer as new image and save it. An in-core pixbuf wouldn't help you anyway, you want the pixels in a file anyway to be able to use them.

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-23 Thread Michael Natterer
On Fri, 2007-03-23 at 17:46 +0200, Aurimas Juška wrote: On 3/23/07, Michael Natterer [EMAIL PROTECTED] wrote: I could imagine just another copy whatever function that does this. You could then simply paste the buffer as new image and save it. An in-core pixbuf wouldn't help you anyway, you

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-23 Thread Sven Neumann
Hi, On Fri, 2007-03-23 at 10:45 +0200, Aurimas Juška wrote: I would like to implement something like GdkPixbuf gimp_image_render_gdk_pixbuf (GimpImage) or even more general void gimp_image_render_gdk_drawable (GimpImage, GdkDrawable) correctly (with display filters, color management, etc).

[Gimp-developer] GimpImage to GdkPixbuf

2007-03-22 Thread Aurimas Juška
Hi, What's the best way to render gimp image to GdkPixbuf (which in turn can be rendered to GdkWindow)? The GdkPixbuf would contain the same pixels as if they were rendered with Gimp on GdkWindow (display filters, color management, etc). In other words, it should pre-bake this stuff. Is it

Re: [Gimp-developer] GimpImage to GdkPixbuf

2007-03-22 Thread Michael Natterer
On Thu, 2007-03-22 at 12:02 +0200, Aurimas Juška wrote: Hi, What's the best way to render gimp image to GdkPixbuf (which in turn can be rendered to GdkWindow)? The GdkPixbuf would contain the same pixels as if they were rendered with Gimp on GdkWindow (display filters, color management,