PixbufModuleSaveFunc


Description:

[ CCode ( has_target = false , has_typedef = false ) ]
public delegate bool PixbufModuleSaveFunc (void* f, Pixbuf pixbuf, string[] param_keys, string[] param_values) throws Error

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.

Parameters:

f

the file stream into which the image should be saved

pixbuf

the image to save

param_keys

parameter keys to save

param_values

parameter values to save

Returns:

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


Namespace: Gdk
Package: gdk-pixbuf-2.0