Pixbuf.saveToStreamv

bool saveToStreamv(gio.output_stream.OutputStream stream, string type, string[] optionKeys = null, string[] optionValues = null, gio.cancellable.Cancellable cancellable = null)

Saves pixbuf to an output stream.

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

See gdkpixbuf.pixbuf.Pixbuf.saveToStream for more details.

Parameters

streama gio.output_stream.OutputStream to save the pixbuf to
typename of file format
optionKeysname of options to set
optionValuesvalues for named options
cancellableoptional gio.cancellable.Cancellable object, NULL to ignore

Returns

TRUE if the pixbuf was saved successfully, FALSE if an

error was set.

Throws