gdkPixbufSaveToStream {RGtk2} | R Documentation |
Saves pixbuf
to an output stream.
gdkPixbufSaveToStream(object, stream, type, cancellable, .errwarn = TRUE)
|
|
|
a |
|
name of file format |
|
optional |
.errwarn |
Whether to issue a warning on error or fail silently |
Supported file formats are currently "jpeg", "tiff", "png", "ico" or
"bmp". See gdkPixbufSaveToBuffer
for more details.
The cancellable
can be used to abort the operation from another
thread. If the operation was cancelled, the error GIO_ERROR_CANCELLED
will be returned. Other possible errors are in the
GDK_PIXBUF_ERRORand
G_IO_ERROR
domains.
The stream is not closed.
Since 2.14
A list containing the following elements:
retval |
[logical] |
|
return location for error, or |
Derived by RGtkGen from GTK+ documentation