-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Nečas (Yeti) wrote:
> On Tue, May 29, 2007 at 11:04:53AM -0400, Tristan Van Berkom wrote:
>> I've been beating my head against the tree for this one
>> for the last 2 days... so, is there some code out there
>> that will gdk_pixbuf_render_image() ?
>>
>> I actually dont even want compositing, something like:
>>    memcpy (image->mem, pixbuf->pixels, image->bpl * image->height)
>>
>> would do fine (minus the alpha channel)... but I can see its going
>> to be a little more complex (taking byte order into account, image
>> depths etc).
>>
>> If I have to end up writing this myself, are there any interesting
>> bits of lowlevel gdk that will help me ?

Is this what you want?

    GtkImage *image_play;

    image_play = gtk_image_new_from_pixbuf(pb_play);

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org

iD8DBQFGXFIz6w2kMH0L1dERAhxeAJ4/CC2oxlj3CvPqGqlKDN48phRPeACfWeC8
XgFFzkYBF6NEJb8OLiukYTE=
=sQJf
-----END PGP SIGNATURE-----
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to