GdkImage from GdkPixbuf

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...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]