5.8 GdkPixbufModuleSaveFunc

Callback: GdkPixbufModuleSaveFunc

A procedure given for it is called as (procedure f pixbuf param-keys param-values) ⇒ %return.

Saves a <GdkPixbuf> into a standard C file stream.

The optional param_keys and param_values arrays contain the keys and values (in the same order) for attributes to be saved alongside the image data.

f

Passed: a foreign pointer, or #f.

the file stream into which the image should be saved

pixbuf

Passed: a <GdkPixbuf>.

the image to save

param-keys

Passed: a vector, each a string, or #f.

parameter keys to save

param-values

Passed: a vector, each a string, or #f.

parameter values to save

%return

Returned: a boolean.

TRUE on success; in case of failure, FALSE is returned and the error is set