gdkPixbufLoaderNewWithType       package:RGtk2       R Documentation

_g_d_k_P_i_x_b_u_f_L_o_a_d_e_r_N_e_w_W_i_t_h_T_y_p_e

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

     Creates a new pixbuf loader object that always attempts to parse
     image data as if it were an image of type 'image.type', instead of
     identifying the type automatically. Useful if you want an error if
     the image isn't the expected type, for loading image formats that
     can't be reliably identified by looking at the data, or if the
     user manually forces a specific type.

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

     gdkPixbufLoaderNewWithType(image.type, .errwarn = TRUE)

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

'image.type': [char]  name of the image format to be loaded with the
          image

.errwarn: Whether to issue a warning on error or fail silently

_D_e_t_a_i_l_s:

     The list of supported image formats depends on what image loaders
     are installed, but typically "png", "jpeg", "gif", "tiff" and 
     "xpm" are among the supported formats. To obtain the full list of
     supported image formats, call 'gdkPixbufFormatGetName' on each  of
     the 'GdkPixbufFormat' structs returned by 'gdkPixbufGetFormats'.

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

     A list containing the following elements: 

  retval: ['GdkPixbufLoader']  A newly-created pixbuf loader.

 'error': ['GError']  return location for an allocated 'GError', or
          'NULL' to ignore errors

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

     Derived by RGtkGen from GTK+ documentation

