cairo_surface_t to pixbuf
- From: Roei Azachi <roei zon-networks com>
- To: gtk-list gnome org
- Subject: cairo_surface_t to pixbuf
- Date: Sun, 22 Feb 2009 14:32:56 +0200
Hi,
I was wondering if there is a way of converting cairo_surface_t to pixbuf
currently I am doing:
cairo_surface_write_to_png(oimg2, "tmp.png");
pixbuf = gdk_pixbuf_new_from_file("tmp.png", &g_err);
I'm sure there is a way, but I don't know how...
Thanks,
Roei
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]