save_to_streamv


Description:

[ Version ( since = "2.36" ) ]
public bool save_to_streamv (OutputStream stream, string type, string[]? option_keys, string[]? option_values, Cancellable? cancellable = null) throws Error

Saves `pixbuf` to an output stream.

Supported file formats are currently "jpeg", "tiff", "png", "ico" or "bmp".

See [methodGdkPixbuf.Pixbuf.save_to_stream] for more details.

Parameters:

this

a `GdkPixbuf`

stream

a `GOutputStream` to save the pixbuf to

type

name of file format

option_keys

name of options to set

option_values

values for named options

cancellable

optional `GCancellable` object, `NULL` to ignore

Returns:

`TRUE` if the pixbuf was saved successfully, `FALSE` if an error was set.