cairo_surface_t to pixbuf

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

 



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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux