gdk-pixbuf-gdk-pixbuf         package:RGtk2         R Documentation

_T_h_e _G_d_k_P_i_x_b_u_f _S_t_r_u_c_t_u_r_e

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

     Information that describes an image.

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gdkPixbufGetColorspace(object)'
      'gdkPixbufGetNChannels(object)'
      'gdkPixbufGetHasAlpha(object)'
      'gdkPixbufGetBitsPerSample(object)'
      'gdkPixbufGetPixels(object)'
      'gdkPixbufGetWidth(object)'
      'gdkPixbufGetHeight(object)'
      'gdkPixbufGetRowstride(object)'
      'gdkPixbufGetOption(object, key)'
      'gdkPixbuf(width, height, filename, colorspace, has.alpha,
     bits.per.sample, data, preserve.aspect.ratio, rowstride, .errwarn
     = TRUE)'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GdkPixbuf 

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

     The 'GdkPixbuf' structure contains information that describes an
     image in memory.

_S_t_r_u_c_t_u_r_e_s:

     '_G_d_k_P_i_x_b_u_f' This is the main structure in the 'gdk-pixbuf'
          library.  It is used to represent images.  It contains
          information about the image's pixel data, its color space,
          bits per sample, width and height, and the rowstride (the
          number of bytes between the start of one row and the start of
          the next). 

_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gdkPixbuf' is the result of collapsing the constructors of
     'GdkPixbuf' ('gdkPixbufNew', 'gdkPixbufNewFromFile',
     'gdkPixbufNewFromFileAtSize', 'gdkPixbufNewFromFileAtScale',
     'gdkPixbufNewFromData', 'gdkPixbufNewFromXpmData', NULL) and
     accepts a subset of its arguments matching the required arguments
     of one of its delegate constructors.

_E_n_u_m_s _a_n_d _F_l_a_g_s:

     '_G_d_k_P_i_x_b_u_f_E_r_r_o_r' An error code in the 'GDK_PIXBUF_ERROR' domain.
          Many 'gdk-pixbuf' operations can cause errors in this domain,
          or in the 'G_FILE_ERROR' domain.

          '_c_o_r_r_u_p_t-_i_m_a_g_e' An image file was broken somehow.

          '_i_n_s_u_f_f_i_c_i_e_n_t-_m_e_m_o_r_y' Not enough memory.

          '_b_a_d-_o_p_t_i_o_n-_v_a_l_u_e' A bad option was passed to a pixbuf save
               module.

          '_u_n_k_n_o_w_n-_t_y_p_e' Unknown image type.

          '_u_n_s_u_p_p_o_r_t_e_d-_o_p_e_r_a_t_i_o_n' Don't know how to perform the given
               operation on the type of image at hand.

          '_f_a_i_l_e_d' Generic failure code, something went wrong.


     '_G_d_k_C_o_l_o_r_s_p_a_c_e' This enumeration defines the color spaces that are
          supported by the 'gdk-pixbuf' library.  Currently only RGB is
          supported.

          '_b' Indicates a red/green/blue additive color space. .in -5


          '_G_d_k_P_i_x_b_u_f_A_l_p_h_a_M_o_d_e' These values can be passed to
               'gdkPixbufRenderToDrawableAlpha' to control how the
               alpha channel of an image should be handled.  This
               function can create a bilevel clipping mask (black and
               white) and use it while painting the image.  In the
               future, when the X Window System gets an alpha channel
               extension, it will be possible to do full alpha
               compositing onto arbitrary drawables.  For now both
               cases fall back to a bilevel clipping mask.

               '_b_i_l_e_v_e_l' A bilevel clipping mask (black and white) will
                    be created and used to draw the image.  Pixels
                    below 0.5 opacity will be considered fully
                    transparent, and all others will be considered
                    fully opaque.

               '_f_u_l_l' For now falls back to 'GDK_PIXBUF_ALPHA_BILEVEL'.
                    In the future it will do full alpha compositing.


_P_r_o_p_e_r_t_i_e_s:

     '_b_i_t_s-_p_e_r-_s_a_m_p_l_e' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The
          number of bits per sample.  Currently only 8 bit per sample
          are supported.  

          Allowed values: [1,16]  Default value: 8


     '_c_o_l_o_r_s_p_a_c_e' ['_G_d_k_C_o_l_o_r_s_p_a_c_e' : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The
          colorspace in which the samples are interpreted.  Default
          value: GDK_COLORSPACE_RGB


     '_h_a_s-_a_l_p_h_a' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] Whether the
          pixbuf has an alpha channel.  Default value: FALSE


     '_h_e_i_g_h_t' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The number of
          rows of the pixbuf.  Allowed values: >= 1  Default value: 1


     '_n-_c_h_a_n_n_e_l_s' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The number
          of samples per pixel.  Currently, only 3 or 4 samples per
          pixel are supported.  

          Allowed values: >= 0  Default value: 3


     '_p_i_x_e_l_s' [_R _o_b_j_e_c_t : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] A pointer to
          the pixel data of the pixbuf.


     '_r_o_w_s_t_r_i_d_e' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The number
          of bytes between the start of a row and  the start of the
          next row. This number must (obviously) be at least as large
          as the width of the pixbuf.  

          Allowed values: >= 1  Default value: 1


     '_w_i_d_t_h' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] The number of
          columns of the pixbuf.  Allowed values: >= 1  Default value:
          1


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html>

