Method
GdkPixbuf.Pixbuf.save_to_stream_async
Declaration [src]
void
gdk_pixbuf_save_to_stream_async (
  GdkPixbuf* pixbuf,
  GOutputStream* stream,
  const gchar* type,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data,
  ...
)
Description [src]
Saves pixbuf to an output stream asynchronously.
For more details see gdk_pixbuf_save_to_stream(), which is the synchronous
version of this function.
When the operation is finished, callback will be called in the main thread.
You can then call gdk_pixbuf_save_to_stream_finish() to get the result of
the operation.
Parameters
| stream | GOutputStream* | 
| a  | |
| Ownership is not transferred to the callee | |
| type | const gchar* | 
| name of file format | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
| cancellable | GCancellable* | 
| optional  | |
| Can be NULL | |
| Ownership is not transferred to the callee | |
| callback | GAsyncReadyCallback | 
| a  | |
| user_data | gpointer | 
| the data to pass to the callback function | |
| ... |  | 
| list of key-value save options |