saveToStreamv

open fun saveToStreamv(stream: <Error class: unknown class>, type: String, optionKeys: List<String>? = null, optionValues: List<String>? = null, cancellable: <Error class: unknown class>? = null): <Error class: unknown class><Boolean>

Saves pixbuf to an output stream.

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

See method@GdkPixbuf.Pixbuf.save_to_stream for more details.

Return

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

Since

2.36

Parameters

stream

a GOutputStream to save the pixbuf to

type

name of file format

optionKeys

name of options to set

optionValues

values for named options

cancellable

optional GCancellable object, NULL to ignore