Learn R Programming

RGtk2 (version 2.8.8)

gdkPixbufSaveToCallbackv: gdkPixbufSaveToCallbackv

Description

Saves pixbuf to a callback in format type, which is currently "jpeg", "png", "ico" or "bmp". If error is set, FALSE will be returned. See gdkPixbufSaveToCallback for more details.

Usage

gdkPixbufSaveToCallbackv(object, save.func, user.data, type, option.keys, option.values, .errwarn = TRUE)

Arguments

object
save.func
[GdkPixbufSaveFunc] a function that is called to save each block of data that the save routine generates.
user.data
[R object] user data to pass to the save function.
type
[char] name of file format.
option.keys
[char] name of options to set, NULL-terminated
option.values
[char] values for named options
.errwarn
Whether to issue a warning on error or fail silently

Value

  • A list containing the following elements:
  • retval[logical] whether an error was set
  • error[GError] return location for error, or NULL

Details

Since 2.4