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

_F_i_l_e _s_a_v_i_n_g

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

     Saving a pixbuf to a file.

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

     'gdkPixbufSavev(object, filename, type, option.keys,
     option.values, .errwarn = TRUE)'
      'gdkPixbufSave(object, filename, type, ..., .errwarn = TRUE)'
      'gdkPixbufSaveToCallback(object, save.func, user.data, type, ...,
     .errwarn = TRUE)'
      'gdkPixbufSaveToCallbackv(object, save.func, user.data, type,
     option.keys, option.values, .errwarn = TRUE)'
      'gdkPixbufSaveToBuffer(object, type, ..., .errwarn = TRUE)'
      'gdkPixbufSaveToBufferv(object, type, option.keys, option.values,
     .errwarn = TRUE)'

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

     These functions allow to save a 'GdkPixbuf' in a number of  file
     formats. The formatted data can be written to a file or to a
     memory buffer. 'gdk-pixbuf' can also call a user-defined callback
     on the data, which allows to e.g. write the image  to a socket or
     store it in a database.

_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_d_k_P_i_x_b_u_f_S_a_v_e_F_u_n_c(_b_u_f, _c_o_u_n_t, _e_r_r_o_r, _d_a_t_a)' Specifies the type of
          the function passed to 'gdkPixbufSaveToCallback'.  It is
          called once for each block of bytes that is "written" by
          'gdkPixbufSaveToCallback'.  If successful it should return
          'TRUE'.  If an error occurs it should set 'error' and return
          'FALSE', in which case 'gdkPixbufSaveToCallback' will fail
          with the same error. Since 2.4

          '_b_u_f' [character] bytes to be written.

          '_c_o_u_n_t' [numeric] number of bytes in 'buf'.

          '_e_r_r_o_r' ['GError'] A location to return an error.

          '_d_a_t_a' [R object] user data passed to
               'gdkPixbufSaveToCallback'.

          _Returns:_ [logical] 'TRUE' if successful, 'FALSE' (with
          'error' set) if failed.


_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-file-saving.html>

