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
int
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. [array zero-terminated=1]

optionValues string[]

values for named options. [array zero-terminated=1]

Return Value

Type: int

whether an error was set

Throws

GException on failure.

Meta