Pixbuf.saveToStreamv

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.

class Pixbuf
bool
saveToStreamv

Parameters

stream gio.output_stream.OutputStream

a gio.output_stream.OutputStream to save the pixbuf to

type string

name of file format

optionKeys string[]

name of options to set

optionValues string[]

values for named options

cancellable gio.cancellable.Cancellable

optional gio.cancellable.Cancellable object, NULL to ignore

Return Value

Type: bool

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