public bool save_to_callback (PixbufSaveFunc save_func, string type, ...) throws Error
Saves pixbuf in format `type` by feeding the produced data to a callback.
This function can be used when you want to store the image to something other than a file, such as an in-memory buffer or a socket.
error is set, `FALSE` will be returned. Possible errors include those in the `GDK_PIXBUF_ERROR` domain and whatever the save
GdkPixbuf.Pixbuf.save] for more details.
a function that is called to save each block of data that the save routine generates.
name of file format.
list of key-value save options
return location for error, or `NULL`
user data to pass to the save function.
whether an error was set