Description Usage Arguments Details Value Author(s)
Saves pixbuf to a new buffer in format type
, which is currently "jpeg",
"png", "tiff", "ico" or "bmp". This is a convenience function that uses
gdkPixbufSaveToCallback
to do the real work. Note that the buffer
is not and may contain embedded nuls.
If error
is set, FALSE
will be returned and buffer
will be set to
NULL
. Possible errors include those in the GDK_PIXBUF_ERROR
domain.
1 | gdkPixbufSaveToBuffer(object, type, ..., .errwarn = TRUE)
|
|
a |
|
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 |
|
location to receive a pointer to the new buffer. |
|
location to receive the size of the new buffer. |
|
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.