Learn R Programming

RGtk2 (version 2.10.9-1)

gdkPixbufSaveToBufferv: gdkPixbufSaveToBufferv

Description

Saves pixbuf to a new buffer in format type, which is currently "jpeg", "tiff", "png", "ico" or "bmp". See gdkPixbufSaveToBuffer for more details.

Usage

gdkPixbufSaveToBufferv(object, type, option.keys, option.values, .errwarn = TRUE)

Arguments

object
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
  • buffer.size[numeric] location to receive the size of the new buffer.
  • type[char] name of file format.
  • option.keys[char] name of options to set, NULL-terminated
  • option.values[char] values for named options
  • error[GError] return location for error, or NULL
  • .errwarnWhether to issue a warning on error or fail silently

Details

Since 2.4