save_to_bufferv


Description:

[ Version ( since = "2.4" ) ]
public bool save_to_bufferv (out uint8[] buffer, string type, string[]? option_keys, string[]? option_values) throws Error

Vector version of `gdk_pixbuf_save_to_buffer()`.

Saves pixbuf to a new buffer in format type, which is currently "jpeg", "tiff", "png", "ico" or "bmp".

See [methodGdkPixbuf.Pixbuf.save_to_buffer] for more details.

Parameters:

this

a `GdkPixbuf`.

buffer

location to receive a pointer to the new buffer.

type

name of file format.

option_keys

name of options to set

option_values

values for named options

buffer_size

location to receive the size of the new buffer.

Returns:

whether an error was set




2022 vala-language.org