Saves pixbuf to a new buffer in format type, which is currently "jpeg",
"tiff", "png", "ico" or "bmp". See Pixbuf.saveToBuffer
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.