Pixbuf.saveToCallbackv

Vector version of [gdkpixbuf.pixbuf.Pixbuf.saveToCallback].

Saves pixbuf to a callback in format type, which is currently "jpeg", "png", "tiff", "ico" or "bmp".

If error is set, FALSE will be returned.

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

class Pixbuf
bool
saveToCallbackv
(,
string type
,
string[] optionKeys = null
,
string[] optionValues = null
)

Parameters

saveFunc gdkpixbuf.types.PixbufSaveFunc

a function that is called to save each block of data that the save routine generates.

type string

name of file format.

optionKeys string[]

name of options to set

optionValues string[]

values for named options

Return Value

Type: bool

whether an error was set