Pixbuf.fromPixdata

Converts a gdkpixbuf.Pixdata to a gdk.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.

More...
class Pixbuf
static
fromPixdata

Parameters

pixdata Pixdata

a gdkpixbuf.Pixdata to convert into a gdk.Pixbuf

copyPixels bool

whether to copy raw pixel data; run-length encoded pixel data is always copied.

Return Value

Type: Pixbuf

Detailed Description

Deprecated: Use gio.Resource instead.

Throws

GException on failure.