Learn R Programming

RGtk2 (version 2.8.7)

gdkPixbufSaveToCallback: gdkPixbufSaveToCallback

Description

Saves pixbuf in format type by feeding the produced data to a callback. Can be used when you want to store the image to something other than a file, such as an in-memory buffer or a socket. If error is set, FALSE will be returned. Possible errors include those in the GDK_PIXBUF_ERROR domain and whatever the save function generates.

Usage

gdkPixbufSaveToCallback(object, save.func, user.data, type, .errwarn = TRUE)

Arguments

Value

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

Details

See gdkPixbufSave for more details.

Since 2.4