Method
GdkPixbufPixbufsave_to_streamv_async
Declaration [src]
void
gdk_pixbuf_save_to_streamv_async (
GdkPixbuf* pixbuf,
GOutputStream* stream,
const gchar* type,
gchar** option_keys,
gchar** option_values,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Saves pixbuf
to an output stream asynchronously.
For more details see gdk_pixbuf_save_to_streamv(), 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.
Available since: | 2.36 |
Parameters
stream |
GOutputStream |
A |
|
The data is owned by the caller of the function. | |
type |
const gchar* |
Name of file format. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
option_keys |
An array of utf8 |
Name of options to set. |
|
The argument can be NULL . | |
The array must be NULL -terminated. | |
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
option_values |
An array of utf8 |
Values for named options. |
|
The argument can be NULL . | |
The array must be NULL -terminated. | |
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
The data to pass to the callback function. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |