Functions¶
|
Details¶
- GdkPixdata.pixbuf_from_pixdata(pixdata, copy_pixels)[source]¶
- Parameters:
pixdata (
GdkPixdata.Pixdata
) – aGdkPixdata.Pixdata
to convert into aGdkPixbuf
.copy_pixels (
bool
) – whether to copy raw pixel data; run-length encoded pixel data is always copied.
- Raises:
- Returns:
a new pixbuf
- Return type:
Converts a
GdkPixdata
to aGdkPixbuf
.If
copy_pixels
isTRUE
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
GResource
instead.