Pixbuf.saveToBufferv
bool saveToBufferv(out ubyte[] buffer, string type, string[] optionKeys = null, string[] optionValues = null)Vector version of [gdkpixbuf.pixbuf.Pixbuf.saveToBuffer].
Saves pixbuf to a new buffer in format type, which is currently "jpeg", "tiff", "png", "ico" or "bmp".
See [gdkpixbuf.pixbuf.Pixbuf.saveToBuffer] for more details.
Parameters
buffer | location to receive a pointer to the new buffer. |
type | name of file format. |
optionKeys | name of options to set |
optionValues | values for named options |
Returns
whether an error was set
Throws
[ErrorWrap]