Pixbuf.savev

Saves pixbuf to a file in type, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If error is set, FALSE will be returned. See gdk_pixbuf_save () for more details.

class Pixbuf
bool
savev
(
string filename
,
string type
,
string[] optionKeys
,
string[] optionValues
)

Parameters

filename string

name of file to save.

type string

name of file format.

optionKeys string[]

name of options to set, NULL-terminated

optionValues string[]

values for named options

Return Value

Type: bool

whether an error was set

Throws

GException on failure.