Saves pixbuf to a new buffer in format @type, which is currently "jpeg", "tiff", "png", "ico" or "bmp". See gdk_pixbuf_save_to_buffer() for more details.
location to receive a pointer to the new buffer.
name of file format.
name of options to set, %NULL-terminated
values for named options
Return: whether an error was set
GException on failure.
2.4
See Implementation
Saves pixbuf to a new buffer in format @type, which is currently "jpeg", "tiff", "png", "ico" or "bmp". See gdk_pixbuf_save_to_buffer() for more details.