Creates a new gdk.Pixbuf with a copy of the information in the specified pixbuf. Note that this does not copy the options set on the original gdk.Pixbuf, use Pixbuf.copyOptions for this.

class Pixbuf

Return Value

Type: Pixbuf

A newly-created pixbuf with a reference count of 1, or NULL if not enough memory could be allocated.