saveToCallbackv

open fun saveToCallbackv(saveFunc: PixbufSaveFunc, type: String, optionKeys: List<String>? = null, optionValues: List<String>? = null): <Error class: unknown class><Boolean>

Vector version of gdk_pixbuf_save_to_callback().

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 method@GdkPixbuf.Pixbuf.save_to_callback for more details.

Return

whether an error was set

Since

2.4

Parameters

saveFunc

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

type

name of file format.

optionKeys

name of options to set

optionValues

values for named options