gdkPixbufNewFromData {RGtk2} | R Documentation |
Creates a new GdkPixbuf
out of in-memory image data. Currently only RGB
images with 8 bits per sample are supported.
gdkPixbufNewFromData(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride)
|
[raw] Image data in 8-bit/sample packed format |
|
[GdkColorspace ] Colorspace for the image data |
|
[logical] Whether the data has an opacity channel |
|
[integer] Number of bits per sample |
|
[integer] Width of the image in pixels, must be > 0 |
|
[integer] Height of the image in pixels, must be > 0 |
|
[integer] Distance in bytes between row starts |
[GdkPixbuf
] A newly-created GdkPixbuf
structure with a reference count of 1.
Derived by RGtkGen from GTK+ documentation