Re: How can convert GdkImage to GdkPixbuf
- From: Havoc Pennington <hp redhat com>
- To: GONZALOMZ <GONZALOMZ teleline es>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How can convert GdkImage to GdkPixbuf
- Date: 13 Oct 2001 18:52:06 -0400
GONZALOMZ <GONZALOMZ teleline es> writes:
I want to know if exist a easy way and efficient to convert
a GdkImage to GdkPixbuf.I want to know how is the
gpointer *mem of the struct GdkImage. I try
gdk_pixbuf_new_from_data((guchar *)mem, ...
and give me error.
You need access to the internals of gdk_pixbuf_get_from_drawable().
GTK 1.3 version of gdk-pixbuf exports this as
gdk_pixbuf_get_from_image().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]