GdkImage from GdkPixbuf
- From: Tristan Van Berkom <tvb gnome org>
- To: gtk-app-devel-list gnome org
- Subject: GdkImage from GdkPixbuf
- Date: Tue, 29 May 2007 11:04:53 -0400
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 ?
I'm currently looking at the composite() functions in gdkdraw.c...
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]