Functions

  pixbuf_from_pixdata (pixdata, copy_pixels)

Details

GdkPixdata.pixbuf_from_pixdata(pixdata, copy_pixels)[source]
Parameters:
Raises:

GLib.Error

Returns:

a new GdkPixbuf.Pixbuf.

Return type:

GdkPixbuf.Pixbuf

Converts a GdkPixdata.Pixdata to a GdkPixbuf.Pixbuf. If copy_pixels is True or if the pixel data is run-length-encoded, the pixel data is copied into newly-allocated memory; otherwise it is reused.

Deprecated since version 2.32: Use Gio.Resource instead.