RGtk2 (version 2.20.31)

gdkPixbufSavev: gdkPixbufSavev

Description

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

Usage

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

Arguments

object
filename
name of file to save.
type
name of file format.
option.keys
name of options to set, NULL-terminated. [ array zero-terminated=1]
option.values
values for named options. [ array zero-terminated=1]
.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
return location for error, or NULL. [ allow-none ]