Description Usage Arguments Details Value Author(s)
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.
1 2 | gdkPixbufSaveToCallback(object, save.func, user.data, type, ...,
.errwarn = TRUE)
|
|
a |
|
a function that is called to save each block of data that the save routine generates. |
|
user data to pass to the save function. |
|
name of file format. |
|
whether an error was set |
.errwarn |
Whether to issue a warning on error or fail silently |
See gdkPixbufSave
for more details.
Since 2.4
A list containing the following elements:
retval |
[logical] whether an error was set |
|
return location for error, or |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.