Transfers image data from a cairo_surface_t and converts it to an RGB(A) representation inside a gdk.Pixbuf This allows you to efficiently read individual pixels from cairo surfaces. For gdk.Windows, use Pixbuf.getFromWindow instead.
Transfers image data from a gdk.Window and converts it to an RGB(A) representation inside a gdk.Pixbuf In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side.
Undocumented in source.