save_to_callbackv


Description:

[ Version ( since = "2.4" ) ]
public bool save_to_callbackv (PixbufSaveFunc save_func, string type, string[]? option_keys, string[]? option_values) throws Error

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 [methodGdkPixbuf.Pixbuf.save_to_callback] for more details.

Parameters:

this

a `GdkPixbuf`.

save_func

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

type

name of file format.

option_keys

name of options to set

option_values

values for named options

user_data

user data to pass to the save function.

Returns:

whether an error was set