Pixbuf.fromPixdata

Converts a #GdkPixdata to a #GdkPixbuf. 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 #GdkPixdata to convert into a #GdkPixbuf.

copyPixels bool

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

Return Value

Type: Pixbuf

a new #GdkPixbuf.

Detailed Description

Deprecated: Use #GResource instead.

Throws

GException on failure.

Meta