gdkPixbufNewFromData          package:RGtk2          R Documentation

_g_d_k_P_i_x_b_u_f_N_e_w_F_r_o_m_D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Creates a new 'GdkPixbuf' out of in-memory image data.  Currently
     only RGB images with 8 bits per sample are supported.

_U_s_a_g_e:

     gdkPixbufNewFromData(data, colorspace, has.alpha, bits.per.sample, width, height, rowstride)

_A_r_g_u_m_e_n_t_s:

  'data': [raw]  Image data in 8-bit/sample packed format

'colorspace': ['GdkColorspace']  Colorspace for the image data

'has.alpha': [logical]  Whether the data has an opacity channel

'bits.per.sample': [integer]  Number of bits per sample

 'width': [integer]  Width of the image in pixels, must be > 0

'height': [integer]  Height of the image in pixels, must be > 0

'rowstride': [integer]  Distance in bytes between row starts

_V_a_l_u_e:

     ['GdkPixbuf']  A newly-created 'GdkPixbuf' structure with a
     reference count of 1.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

