Pixbuf.saveToCallbackv

bool saveToCallbackv(gdkpixbuf.types.PixbufSaveFunc saveFunc, string type, string[] optionKeys = null, string[] optionValues = null)

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.

Parameters

saveFunca function that is called to save each block of data that the save routine generates.
typename of file format.
optionKeysname of options to set
optionValuesvalues for named options

Returns

whether an error was set

Throws

[ErrorWrap]